I have an array with the shape: *(31777, 44, 44)*

Its `sum` is 31777.0, and every `(44,44)` grid contains just one 1.0 entry at some coordinates.

My objective is to obtain an array of shape *(31777, 2)* where the `2` are the coordinates of the 1.0 entry in the grid.
The messy way to do this is with a loop, but I'm looking for an elegant performant solution to this.