Average of Pruning: Improving Performance and Stability of Out-of-Distribution Detection