nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/shape/Shape.java
public static char getOrder(INDArray arr) {
        return getOrder(arr.shape(), arr.stride(), arr.elementStride());
    }
public static char getOrder(INDArray arr) {
        return getOrder(arr.shape(), arr.stride(), arr.elementStride());
    }
Infer the order for the ndarray based on the
array's strides
@param arr the array to get the
ordering for
@return the ordering for the given array