A design method of a full-fixed-point neural network
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 o...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | 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 pres |
---|