PercentileEncodingAnalyzer

class aimet_torch.v2.quantization.encoding_analyzer.PercentileEncodingAnalyzer(shape, num_bins=2048, percentile=100)[source]

Encoding Analyzer for Percentile calibration technique

set_percentile(percentile)[source]

Set the clipping percentile of the encoding analyzer. The encoding analyzer will clip the (100% - percentile) largest and smallest observed values from the encoding range when computing encodings.

Parameters

percentile – Value from 50.0 to 100.0 indicating the clipping percentile