public interface NDArrayCompressor
Modifier and Type | Method and Description |
---|---|
DataBuffer |
compress(DataBuffer buffer) |
INDArray |
compress(INDArray array)
This method returns compressed copy of referenced array
|
void |
compressi(INDArray array)
Inplace compression of INDArray
|
DataBuffer |
decompress(DataBuffer buffer) |
INDArray |
decompress(INDArray array)
This method returns decompressed copy of referenced array
|
void |
decompressi(INDArray array)
Inplace decompression of INDArray
|
CompressionType |
getCompressionType()
This method returns compression type provided by specific NDArrayCompressor implementation
|
String |
getDescriptor()
This method returns compression descriptor.
|
String getDescriptor()
CompressionType getCompressionType()
INDArray compress(INDArray array)
array
- void compressi(INDArray array)
array
- DataBuffer compress(DataBuffer buffer)
INDArray decompress(INDArray array)
array
- void decompressi(INDArray array)
array
- DataBuffer decompress(DataBuffer buffer)
Copyright © 2016. All Rights Reserved.