Expand description
Quantization Functions
§File
crates/axonml-quant/src/quantize.rs
§Author
Andrew Jewell Sr - AutomataNexus
§Updated
March 8, 2026
§Disclaimer
Use at own risk. This software is provided “as is”, without warranty of any kind, express or implied. The author and AutomataNexus shall not be held liable for any damages arising from the use of this software.
Structs§
- Quantization
Stats - Returns statistics about quantization error.
Functions§
- compute_
quantization_ error - Computes the quantization error (RMSE) between original and quantized.
- compute_
quantization_ stats - Computes detailed quantization statistics.
- quantize_
model - Quantizes a model (collection of named tensors).
- quantize_
tensor - Quantizes a tensor to the specified quantization type.