Expand description
Incremental activation statistics (min, max, mean, std, histogram).
ActivationStats can be built from a single batch with from_data
and then incrementally extended with update.
Structs§
- Activation
Stats - Incremental activation statistics for a single layer.
Functions§
- calculate_
optimal_ range - Compute the optimal quantization range for
datausing the given method.