Configurable convolution calculation circuit for convolutional neural network

The invention discloses a configurable convolution calculation circuit for a convolutional neural network. The calculation control module unfolds triple cycles in quadruple cycle calculation of the convolutional layer, namely cycles in a receptive field, cycles among input feature maps and cycles am...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LIU DONGSHENG, LU JIAHAO, ZHU LINGSONG, WEI LAI, CHENG XUAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a configurable convolution calculation circuit for a convolutional neural network. The calculation control module unfolds triple cycles in quadruple cycle calculation of the convolutional layer, namely cycles in a receptive field, cycles among input feature maps and cycles among output feature maps; pixel data and weight data required by convolution calculation of each cycle are input into a convolution calculation module; the corresponding offset data is input into the adder tree module; the convolution calculation module carries out parallel calculation on the triple cycles in different directions at the same time; the addition tree module carries out addition calculation on different working modes, wherein the addition tree module comprises a single-channel mode and a multi-channel mode; and the calculation control module can switch the working mode of the adder tree module at any time according to whether the pixel data subjected to convolution calculation is single-channel data or