Crate numcodecs_linear_quantize
source ·Expand description
Linear Quantization codec implementation for the numcodecs
API.
Structs§
- Lossy codec to reduce the precision of floating point data.
- Opaque error for when encoding or decoding the header fails
Enums§
- Number of bins for quantization, written in base-2 scientific notation.
- Errors that may occur when applying the
LinearQuantizeCodec
. - Data types which the
LinearQuantizeCodec
can quantize
Traits§
- Floating point types.
- Unsigned binary types.
Functions§
- Linear-quantize the elements in the
data
array using thequantize
closure. - Reconstruct the linear-quantized
encoded
array using thefloatify
closure. - Reconstruct the linear-quantized
encoded
array using thefloatify
closure into thedecoded
array.