For Mahalanobis-based OOD detection [1]} we use the output of the penultimate layer to determine the Mahalanobis scores.
We select the ID classification threshold at 95 % ID sensitivity on the validation data set (containing ID and OOD data).
