CN109308520B - 实现softmax函数计算的FPGA电路及方法 - Google Patents
实现softmax函数计算的FPGA电路及方法 Download PDFInfo
- Publication number
- CN109308520B CN109308520B CN201811122277.6A CN201811122277A CN109308520B CN 109308520 B CN109308520 B CN 109308520B CN 201811122277 A CN201811122277 A CN 201811122277A CN 109308520 B CN109308520 B CN 109308520B
- Authority
- CN
- China
- Prior art keywords
- elements
- numerical values
- module
- values
- fpga circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/06—Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons
- G06N3/063—Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons using electronic means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- General Health & Medical Sciences (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Computational Linguistics (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Artificial Intelligence (AREA)
- Neurology (AREA)
- Logic Circuits (AREA)
Abstract
Description
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811122277.6A CN109308520B (zh) | 2018-09-26 | 2018-09-26 | 实现softmax函数计算的FPGA电路及方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811122277.6A CN109308520B (zh) | 2018-09-26 | 2018-09-26 | 实现softmax函数计算的FPGA电路及方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109308520A CN109308520A (zh) | 2019-02-05 |
CN109308520B true CN109308520B (zh) | 2022-05-13 |
Family
ID=65224862
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811122277.6A Active CN109308520B (zh) | 2018-09-26 | 2018-09-26 | 实现softmax函数计算的FPGA电路及方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109308520B (zh) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110135086B (zh) * | 2019-05-20 | 2022-09-13 | 合肥工业大学 | 计算精度可变的softmax函数硬件电路及其实现方法 |
CN112036561B (zh) * | 2020-09-30 | 2024-01-19 | 北京百度网讯科技有限公司 | 数据处理方法、装置、电子设备及存储介质 |
WO2022168604A1 (ja) * | 2021-02-05 | 2022-08-11 | コニカミノルタ株式会社 | ソフトマックス関数の近似計算装置、近似計算方法および近似計算プログラム |
CN114648101B (zh) * | 2022-05-13 | 2022-08-12 | 杭州研极微电子有限公司 | 基于transformer结构的softmax函数量化实现方法和装置 |
CN114626489A (zh) * | 2022-05-17 | 2022-06-14 | 深圳比特微电子科技有限公司 | 一种softmax函数定点化实现方法和装置 |
CN115511047B (zh) * | 2022-06-09 | 2024-03-08 | 上海燧原科技股份有限公司 | Softmax模型的量化方法、装置、设备及介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101493760A (zh) * | 2008-12-24 | 2009-07-29 | 京信通信系统(中国)有限公司 | 一种高速除法器及其实现高速除法运算的方法 |
CN201311633Y (zh) * | 2008-11-07 | 2009-09-16 | 中国北车股份有限公司大连电力牵引研发中心 | 基于fpga的浮点数值除法器实现的功能模块 |
CN104765713A (zh) * | 2014-12-20 | 2015-07-08 | 中国科学院西安光学精密机械研究所 | 基于分段查表三角函数实现fpga数字信号处理的方法 |
CN107133012A (zh) * | 2017-04-27 | 2017-09-05 | 湖南省瞬渺通信技术有限公司 | 一种高速自定义浮点复数除法器 |
CN108021537A (zh) * | 2018-01-05 | 2018-05-11 | 南京大学 | 一种基于硬件平台的softmax实现方式 |
CN108037906A (zh) * | 2017-12-14 | 2018-05-15 | 中国人民解放军国防科技大学 | 基于tcordic算法的浮点基本函数实现方法及装置 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180232152A1 (en) * | 2017-02-10 | 2018-08-16 | Xerox Corporation | Gated end-to-end memory network |
US11132599B2 (en) * | 2017-02-28 | 2021-09-28 | Microsoft Technology Licensing, Llc | Multi-function unit for programmable hardware nodes for neural network processing |
-
2018
- 2018-09-26 CN CN201811122277.6A patent/CN109308520B/zh active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201311633Y (zh) * | 2008-11-07 | 2009-09-16 | 中国北车股份有限公司大连电力牵引研发中心 | 基于fpga的浮点数值除法器实现的功能模块 |
CN101493760A (zh) * | 2008-12-24 | 2009-07-29 | 京信通信系统(中国)有限公司 | 一种高速除法器及其实现高速除法运算的方法 |
CN104765713A (zh) * | 2014-12-20 | 2015-07-08 | 中国科学院西安光学精密机械研究所 | 基于分段查表三角函数实现fpga数字信号处理的方法 |
CN107133012A (zh) * | 2017-04-27 | 2017-09-05 | 湖南省瞬渺通信技术有限公司 | 一种高速自定义浮点复数除法器 |
CN108037906A (zh) * | 2017-12-14 | 2018-05-15 | 中国人民解放军国防科技大学 | 基于tcordic算法的浮点基本函数实现方法及装置 |
CN108021537A (zh) * | 2018-01-05 | 2018-05-11 | 南京大学 | 一种基于硬件平台的softmax实现方式 |
Also Published As
Publication number | Publication date |
---|---|
CN109308520A (zh) | 2019-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109308520B (zh) | 实现softmax函数计算的FPGA电路及方法 | |
Wang et al. | A high-speed and low-complexity architecture for softmax function in deep learning | |
Zamanlooy et al. | Efficient VLSI implementation of neural networks with hyperbolic tangent activation function | |
CN111758106B (zh) | 用于大规模并行神经推理计算元件的方法和系统 | |
CN108021537B (zh) | 一种基于硬件平台的softmax函数计算方法 | |
Lotrič et al. | Applicability of approximate multipliers in hardware neural networks | |
US5506797A (en) | Nonlinear function generator having efficient nonlinear conversion table and format converter | |
CN109214509B (zh) | 一种用于深度神经网络高速实时量化结构和运算实现方法 | |
KR102181385B1 (ko) | 신경망에서의 무작위성 생성 | |
Abdellatef et al. | Accurate and compact convolutional neural network based on stochastic computing | |
US20230106651A1 (en) | Systems and methods for accelerating the computation of the exponential function | |
CN110888623B (zh) | 数据转换方法、乘法器、加法器、终端设备及存储介质 | |
Gan et al. | A cost-efficient digital esn architecture on fpga for ofdm symbol detection | |
Kouretas et al. | Logarithmic number system for deep learning | |
Chen et al. | Approximate softmax functions for energy-efficient deep neural networks | |
Luong et al. | Efficient architectures and implementation of arithmetic functions approximation based stochastic computing | |
CN111882050B (zh) | 基于fpga的用于提高bcpnn速度的设计方法 | |
US10271051B2 (en) | Method of coding a real signal into a quantized signal | |
Kim et al. | Applying piecewise linear approximation for DNN non-linear activation functions to Bfloat16 MACs | |
Hirayama et al. | A resource-efficient weight sampling method for Bayesian neural network accelerators | |
KR20210116182A (ko) | 소프트맥스 연산 근사화 방법 및 장치 | |
Horyachyy et al. | Simple effective fast inverse square root algorithm with two magic constants | |
Xia et al. | On the influence of roundoff errors on the convergence of the gradient descent method with low-precision floating-point computation | |
Jha et al. | Analysis of worst-case data dependent temporal approximation in floating point units | |
Boggiano et al. | FPGA implementation of a new scheme for the circuit realization of PWL functions |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40004190 Country of ref document: HK |
|
TA01 | Transfer of patent application right |
Effective date of registration: 20200925 Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands Applicant after: Innovative advanced technology Co.,Ltd. Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands Applicant before: Advanced innovation technology Co.,Ltd. Effective date of registration: 20200925 Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands Applicant after: Advanced innovation technology Co.,Ltd. Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands Applicant before: Alibaba Group Holding Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |