Patent ID: 11900577
Assignee: CANON KABUSHIKI KAISHA
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A processing apparatus for performing operations with a convolutional neural network having a plurality of layers, the apparatus comprising:
a controller configured to sequentially select each of the plurality of layers as a target layer;
a data holder configured to hold at least some of data of a plurality of channels in the target layer;
a plurality of processors, each configured to perform, in parallel, a multiply-accumulate operation using the data of one channel of the target layer and a coefficient corresponding to the target layer; and
a selector configured to select whether to perform first processing or second processing on the basis of information specifying processing in the target layer,
the first processing including while inputting the data of different channels of the target layer, held by the data holder, into respective processors of the plurality of processors in parallel, inputting the data of pixels of one channel of the target layer into a corresponding processor of the plurality of processors to calculate a value corresponding to data of a pixel of one channel of the next layer after the target layer by one processor of the plurality of processors, and
the second processing including sequentially reading out the data of each channel of the plurality of channels of the target layer, held by the data holder, and also sequentially inputting the data of each channel of the plurality of channels of the target layer to the plurality of processors in parallel so as to inputting the same data of one channel of the target layer to the plurality of processors in parallel to calculate a value corresponding to data of a pixel of one channel of the next layer by one processor of the plurality of processors.