Softmax function calculation method based on piecewise lookup table and hardware system
A technology of segmentation search and calculation method, applied in the field of hardware acceleration of neural network, can solve problems such as insufficient precision, increase calculation delay, consume hardware calculation resources, etc., to achieve convenient search, increase calculation delay, storage The effect of resource reduction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0028] The present invention will be further described below in conjunction with drawings and embodiments.
[0029] Step 1. Establish a segmented e-index lookup table with a calculation interval of [-10,0]:
[0030] 1) Divide the data in the interval [-10,0] into N segments, corresponding to N types of data: {(-10~-1),(-1~-0.1),…,(-1*10 -(N-2) ~-1*10 -(N-1) )}, where (-1*10 -(i-2) ~-1*10 -(i-1) ) indicates the i-th data category to which it belongs after division; each data only retains three significant figures. As shown in Table 1, according to the range of the preprocessed data (-10~-1), (-1~-0.1), (-0.1~-0.01), it is divided into multiple segments, and each segment of data is only Reserve its 3 significant digits, that is to say, for the data of (-10~-1), the e-index lookup table only saves exp(-9.99), exp(-9.98),...,exp(-1.00) in total 900 values, the data of (-10~-9.99) corresponds to exp(-9.99), the data of (-9.99~-9.98) corresponds to exp(-9.98), and so on. The m...
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



