Lightweight model-based data processing method, apparatus and device, and medium
The invention relates to the technical field of artificial intelligence, in particular to a data processing method and device based on a lightweight model, equipment and a medium. According to the method, a convolutional layer of a lightweight model is used for performing feature extraction on data...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to the technical field of artificial intelligence, in particular to a data processing method and device based on a lightweight model, equipment and a medium. According to the method, a convolutional layer of a lightweight model is used for performing feature extraction on data to be processed to obtain a feature extraction result, the feature extraction result is quantized to obtain initial quantized output data, the initial quantized output data is input into a first operator in an activation layer of the lightweight model, and a final calculation result of a last operator is obtained. And quantizing the final calculation result to obtain quantized activation data, and performing inference processing on the quantized activation data to obtain an inference result. According to the method, quantization is added behind each operator in the model, so that quantization is performed once after each calculation, step-by-step quantization is realized, a certain quantization effect is improved w |
---|