nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ndarray/BaseShapeInfoProvider.java
@Override
    public Pair<DataBuffer, long[]> createShapeInformation(long[] shape, char order) {
        long[] stride = Nd4j.getStrides(shape, order);

        // this won't be view, so ews is 1
        int ews = 1;

        return createShapeInformation(shape, stride, 0, ews, order);
    }
@Override
    public Pair<DataBuffer, long[]> createShapeInformation(long[] shape, char order) {
        long[] stride = Nd4j.getStrides(shape, order);

        // this won't be view, so ews is 1
        int ews = 1;

        return createShapeInformation(shape, stride, 0, ews, order);
    }
This method creates shapeInformation buffer, based on shape & order being passed in

@param shape
@param order
@return