I have a matrix A with the shape (13, 13, 5, 5), however, I get the following error when inverting the matrix. I want to invert the matrix across the 0th and 1s
(13, 13, 5, 5)