public static INDArrayIndex [ ] toIndexes ( int [ ] indices ) { INDArrayIndex [ ] ret = new INDArrayIndex [ indices . length ] ; for ( int i = 0 ; i < ret . length ; i ++ ) ret [ i ] = new NDArrayIndex ( indices [ i ] ) ; return ret ; }
Convert the given int indexes to nd array indexes