mindspore_gs.quantization

量化感知训练算法集。

import mindspore_gs.quantization as qat

Simulated Quantization算法

mindspore_gs.quantization.SimulatedQuantizationAwareTraining

Basic implementation of simulated quantization aware training, this algorithm adopts fake quantizer to simulate the loss of quantization calculation, and network parameters are updated through backpropagation, so that the network parameters can better adapt to the loss caused by quantization.

SLB量化算法

mindspore_gs.quantization.SlbQuantAwareTraining

Derived class of GoldenStick.