Find length of sequences of identical values along one axis in a 3D array (related to run length encoding)
I’m interested in finding the length of sequences of 1’s along a single axis in a multi-dimension array.
I’m interested in finding the length of sequences of 1’s along a single axis in a multi-dimension array.