@Override
    public void setArray(INDArray arr) {
        if (this.arr.get() == null)
            this.arr.set(arr);
    }
@ Override public void setArray ( INDArray arr ) { if ( this . arr . get ( ) == null ) this . arr . set ( arr ) ; }
Set the ndarray

@param arr the ndarray for this holder
to use