public INDArray[] asArray() {
        val val = map.values();
        val res = new INDArray[val.size()];
        int cnt = 0;
        for (val v: val)
            res[cnt++] = v;

        return res;
    }
public INDArray [ ] asArray ( ) { val val = map . values ( ) ; val res = new INDArray [ val . size ( ) ] ; int cnt = 0 ; for ( val v : val ) res [ cnt ++ ] = v ; return res ; }
This method return operands as array, in order of addition
@return