|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Affine quantization: real = scale * (stored - zero_point). More...
#include <TensorSpec.hpp>
Public Attributes | |
| std::optional< size_t > | axis |
| std::vector< double > | scale |
| std::vector< int64_t > | zero_point |
Affine quantization: real = scale * (stored - zero_point).
Per tensor when axis is empty (one scale), otherwise per slice along axis (one scale per index of that axis). zero_point is empty for symmetric quantization or matches scale in length.
Definition at line 70 of file TensorSpec.hpp.