@ 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