Skip to main content

Module quantize

Module quantize 

Source
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§

QuantizationStats
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.