/** * Compress the given data buffer * given the default compression algorithm * @param buffer the data buffer to compress * @return the compressed version of the data buffer */ public DataBuffer compress(DataBuffer buffer) { return compress(buffer, getDefaultCompression()); }
/** * In place compression of the passed in ndarray * with the default compression algorithm * @param array */ public void compressi(INDArray array) { compressi(array, getDefaultCompression()); }
public INDArray compress(INDArray array) { Nd4j.getExecutioner().commit(); return compress(array, getDefaultCompression()); }
/** * In place compression of the passed in ndarray * with the default compression algorithm * @param array */ public void compressi(INDArray array) { compressi(array, getDefaultCompression()); }
/** * Compress the given data buffer * given the default compression algorithm * @param buffer the data buffer to compress * @return the compressed version of the data buffer */ public DataBuffer compress(DataBuffer buffer) { return compress(buffer, getDefaultCompression()); }
public INDArray compress(INDArray array) { Nd4j.getExecutioner().commit(); return compress(array, getDefaultCompression()); }