Method for operating a neural network model, medium, program product, and electronic device
By numerically converting and quantizing the floating-point input data of exponential function operations in the neural network model, a lookup table with higher accuracy is constructed, which solves the problem of low accuracy of fixed-point exponential function operations and improves the accuracy of the model's operation results.
Patent Information
- Application Number
- CN202210335080.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2042-03-31
AI Technical Summary
In neural network model, for the quantization of exponential functions, as the floating-point input data increases, the calculation results of fixed-point exponential functions are lower, resulting in lower accuracy of model operation results.
By numerical conversion of floating-point input data of exponential function operations, the range becomes less than or equal to zero, and then quantization and lookup tables are performed to build a lookup table with higher accuracy to improve the accuracy of the calculation results.
By adjusting the input data range and building a lookup table with higher accuracy, the problem of low accuracy of exponential function calculation results is solved, and the accuracy of operation results of neural network models is improved.