[2310.17404] Invariance Measures for Neural Networks