Arithmetic operation circuit, arithmetic operation method, and program
An arithmetic operation method for a convolutional layer in a neural network includes: generating a coefficient matrix by converting a kernel used in the convolutional layer such that the coefficient matrix is associated with an input vector obtained by expanding, into one column, a feature map inpu...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | An arithmetic operation method for a convolutional layer in a neural network includes: generating a coefficient matrix by converting a kernel used in the convolutional layer such that the coefficient matrix is associated with an input vector obtained by expanding, into one column, a feature map input to the convolutional layer; searching for non-zero elements included in the coefficient matrix; assigning multiplications of the non-zero elements included in the coefficient matrix and corresponding elements of the input vector to a plurality of calculators with each of the multiplications being handled as a unit of process, so as to level out the numbers of units of process among the calculators, each of the calculators being capable of performing a process in parallel with one another; and sequentially performing, by the calculators, the assigned multiplications, and sequentially adding, by the calculators, results of the multiplications to corresponding elements of an output vector. |
---|