Weight and activation value quantification method for long-term and short-term memory network
A technology of long-term short-term memory and quantization method, which is applied in the quantization field of weights and activation values, which can solve problems such as large amount of calculation and limitation of neural network application scenarios, and achieve the effect of reducing data bit width and reducing errors
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0056] The present invention can be realized in the software and hardware system of the long short-term memory network.
[0057] Taking the input parameters of the LSTM network as an example, quantify the weight value, a total of three steps:
[0058] The first step is to search for a suitable target quantization range num. During the experiment, a total of 2 N values, where N=1~7, run the kl_comp_weight() function to collect the KL divergence under the optimal quantization scheme for each num, the result is as follows Figure 6 shown. When num increases, the KL divergence decreases, that is, when the bit width of the fixed-point number is larger, the distribution of the fixed-point number and the floating-point number is closer, and the error is smaller. When num is greater than 8, the KL divergence decreases rapidly as num increases. In order to reduce the cost of hardware design, the quantization of input parameters is selected as INT3.
[0059] In the second step, in ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



