Circuit design method for inaccurately calculating neural network
The invention provides a circuit design method for inaccurately calculating a neural network. The method comprises the steps that bit width is determined to determine the bit width selection range ofan inaccurate multiplier; a circuit structure is generated; a variety of specific circuits are genera...
Saved in:
Main Authors | , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
06.07.2018
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a circuit design method for inaccurately calculating a neural network. The method comprises the steps that bit width is determined to determine the bit width selection range ofan inaccurate multiplier; a circuit structure is generated; a variety of specific circuits are generated for each kind of candidate bit width through a heuristic random algorithm driven by the importance ranking of nodes in the circuit, and multiple specific circuits are all optional inaccurate multiplier structures; independent replacement is carried out, and each accurate multiplier in the neural network is independently replaced with an inaccurate multiplier of a certain structure; all acquired possible solutions form a solution space; traversal comparison is carried out; a part of solutions are randomly selected within the solution space; and the training and testing effects of the inaccurate neural network under each solution are traversed to acquire the optimal solution. According tothe invention, under the |
---|---|
Bibliography: | Application Number: CN201611242077 |