MpDistanceWeighting

class model_compression_toolkit.core.MpDistanceWeighting(value)

Defines mixed precision distance metric weighting methods. The enum values can be used to call a function on a set of arguments and key-arguments.

AVG - take the average distance on all computed layers.

LAST_LAYER - take only the distance of the last layer output.