❓Question
According to my understanding, coremltools.optimize.torch.quantification encapsulates the official quantification of torch (as an extension of FX Graph Mode Quantization in PyTorch).
My question is, must I use the coremltools API for qat training? Can I use the PyTorch's API directly to complete qat and convert it to an mlmodel?
In other words, what specific operations were done by coremltools.optimize.torch when completing qat for coreml package?
(I am still a newbie in quantification. Thank you for your guidance)
❓Question
According to my understanding,
coremltools.optimize.torch.quantificationencapsulates the official quantification of torch (as an extension of FX Graph Mode Quantization in PyTorch).My question is, must I use the coremltools API for qat training? Can I use the PyTorch's API directly to complete qat and convert it to an mlmodel?
In other words, what specific operations were done by
coremltools.optimize.torchwhen completing qat for coreml package?(I am still a newbie in quantification. Thank you for your guidance)