A design method of a full-fixed-point neural network

A neural network and design method technology, applied in the field of artificial intelligence neural network, can solve the problems of high resource occupation, high cost, and high power consumption, and achieve the effects of low power consumption and cost, less resource occupation, and good timing convergence

Active Publication Date: 2019-04-23
四川那智科技有限公司
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, compared with fixed-point arithmetic units, floating-point arithmetic has problems such as occupying more resources, large area, high power consumption, and high cost.

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
  • A design method of a full-fixed-point neural network

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0025] The design concept of the present invention is: a fully fixed-point design of the artificial intelligence neural network, simplify the neural network, improve the utilization rate of computing resources, reduce area, and save power consumption and cost.

[0026] The present invention includes the following steps:

[0027] Step 1: Design the neural network framework and select a saturated activation function as the neural network activation function.

[0028] Step 2: Select the initial overall fixed-point width according to the application scenario of the neural network.

[0029] Combining accuracy requirements, power consumption requirements, and cost requirements, you can choose 8bit ~ 128bit as the overall fixed-point bit width. The overall fixed-point bit width includes the decimal part bit width and the integer part bit width.

[0030] Step 3: Determine the initial bit width of the decimal part and the integer part according to the accuracy requirements and the data characte...

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 design method of a full-fixed-point neural network. The method comprises the following steps of designing a neural network framework, and selecting a saturation activation function as a neural network activation function; selecting an initial overall fixed point bit width of the data according to an application scenario of the neural network; determining an initial decimal part bit width and an initial integer part bit width according to the precision requirement and the data characteristics of the neural network; carrying out binary conversion on the decimal part andthe integer part; taking the converted fixed point format data as input, carrying out neural network training, and recording a training result; Recording a training test result; and repeating the step 2 to the step 6 until the overall fixed-point bit width, decimal bit width and integer bit width meeting the requirements are found to serve as the final fixed-point architecture of the neural network. According to the present invention, the design of the neural network is calculated by adopting the fixed point number, the occupied resources are few, and the power consumption and the cost are low.

Description

technical field [0001] The invention relates to the technical field of artificial intelligence neural networks, in particular to a design method of a fully fixed-point neural network. Background technique [0002] An artificial neural network is a computational model designed by humans to mimic the way biological neural networks work. Neuron (Neuron) is the basic unit of neural network, also known as node (Node), it receives input (Input) from the outside or other nodes, and calculates output (Output) through an activation function (Activation Function); each The input corresponds to Weight, which is the relative importance of each input received by this node; Bias can be understood as a special input. [0003] Deep learning is a field of machine learning that studies the algorithms, theory, and applications of complex artificial neural networks. Since it was proposed by Hinton in 2006, deep learning has been greatly developed and has been successfully applied to many fiel...

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
IPC IPC(8): G06N3/04
CPCG06N3/04
Inventor 甄德根张志兴刘详凯
Owner 四川那智科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products