Skip to main content

Module stats

Module stats 

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

ActivationStats
Incremental activation statistics for a single layer.

Functions§

calculate_optimal_range
Compute the optimal quantization range for data using the given method.