Unlock instant, AI-driven research and patent intelligence for your innovation.

Fixed-point calculation method and device of depth neural network based on FPGA

A deep neural network and computing method technology, applied in the field of fixed-point computing methods and devices, can solve problems such as overall computing efficiency limitation, limited parallelism of complex programs, DSP, etc., and achieve the effect of expanding parallelism

Inactive Publication Date: 2018-12-14
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the development of science and technology in modern society, although the current FPGA (Field-Programmable Gate Array, Field Programmable Gate Array) equipment has supported various complex floating-point or fixed-point operations to a certain extent, the efficiency of floating-point operations is very important for FPGAs. There is a serious dependence on the number of DSP (Digital Signal Processing, digital signal processing) on ​​the device, and the FPGA device itself realizes the calculation in the program through the hardware circuit, and once its resources are consumed, they will not be recycled and redistributed
[0003] In the prior art, the overall computing efficiency of the current FPGA device is largely limited by the number of hardware DSPs on the FPGA device, although fixed-point operations can be used instead of floating-point operations to reduce the usage of DSPs to a certain extent. But the parallelism of complex programs is still limited by the number of DSPs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Fixed-point calculation method and device of depth neural network based on FPGA
  • Fixed-point calculation method and device of depth neural network based on FPGA
  • Fixed-point calculation method and device of depth neural network based on FPGA

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0034] Please refer to figure 1 , figure 1 It is a flow chart of an FPGA-based fixed-point calculation method for a deep neural network provided by an embodiment of the present invention. The method can include:

[0035] Step 101: Carry out fixed-point processing on the image data, and convert the floating-point numbers in the image data i...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a fixed-point calculation method and device of a depth neural network based on FPGA. The method comprises the following steps: carrying out fixed-point processing on image data, and converting floating-point number in image data into fixed-point number; quantizing all the values in the filter of the neural network to exponential power of 0 or 2; performing shift addition ofthe image data after fixed-point processing and the quantized filter to obtain the convolution result. By quantizing all the values in the filters of the neural network to an exponential power of 0 or 2, the dot product operation in the convolution process of the deep neural network can be transformed into a cheaper shift addition operation; since the shift addition operation on FPGA devices is implemented based on logical units, the method can fundamentally make neural network get rid of the dependence on hardware DSP in the operation process, and expand the parallelism, computational efficiency and energy consumption ratio of neural network units on FPGA devices.

Description

technical field [0001] The invention relates to the field of computer information technology, in particular to a fixed-point calculation method and device based on an FPGA-based deep neural network. Background technique [0002] With the development of science and technology in modern society, although the current FPGA (Field-Programmable Gate Array, Field Programmable Gate Array) equipment has supported various complex floating-point or fixed-point operations to a certain extent, the efficiency of floating-point operations is very important for FPGAs. There is a serious dependence on the number of DSP (Digital Signal Processing, digital signal processing) on ​​the device, and the FPGA device itself realizes the calculation in the program through the hardware circuit, and once its resources are consumed, they will not be recycled and redistributed. [0003] In the prior art, the overall computing efficiency of the current FPGA device is largely limited by the number of hardw...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06N3/04G06N3/08G06K9/62
CPCG06N3/08G06N3/045G06F18/214
Inventor 于福海张纪伟景璐
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD