Quantization-based data processing method and apparatus, device, and medium
Патент · US A1
Полный текст
A quantization-based data processing method includes: respectively performing quantization processing on an original model parameter corresponding to a model function network in a plurality of bit quantization manners, to obtain a plurality of quantized model parameters each corresponding to one of the plurality of bit quantization manners; acquiring a first output result of the model function network under the original model parameter, and acquiring a plurality of second output results of the model function network under the plurality of quantized model parameters; selecting a target bit quantization manner from the plurality of bit quantization manners based on the first output result and the plurality of second output results, the target bit quantization manner being configured to perform quantization processing on the original model parameter during an inference phase of the model function network.