nncf.common.statistics#

Classes#

NNCFStatistics

Groups statistics for all available NNCF compression algorithms.

class nncf.common.statistics.NNCFStatistics[source]#

Groups statistics for all available NNCF compression algorithms. Statistics are present only if the algorithm has been started.

register(algorithm_name, stats)[source]#

Registers statistics for the algorithm.

Parameters:
  • algorithm_name (str) – Name of the algorithm. Should be one of the following * const_sparsity * filter_pruning * magnitude_sparsity * movement_sparsity * quantization * rb_sparsity

  • stats (nncf.api.statistics.Statistics) – Statistics of the algorithm.

Return type:

None