public void decompressi ( INDArray array ) { if ( array . data ( ) . dataType ( ) != DataType . COMPRESSED ) return ; val comp = ( CompressedDataBuffer ) array . data ( ) ; val descriptor = comp . getCompressionDescriptor ( ) ; if ( ! codecs . containsKey ( descriptor . getCompressionAlgorithm ( ) ) ) throw new RuntimeException ( "Non-existent compression algorithm requested: [" + descriptor . getCompressionAlgorithm ( ) + "]" ) ; codecs . get ( descriptor . getCompressionAlgorithm ( ) ) . decompressi ( array ) ; }
in place decompression of the given ndarray . If the ndarray isn t compressed this will do nothing