Apparatus and method for performing a forward operation of artificil neural networks
AssigneeCambricon Technologies Corporation Limited
InventorsShaoli LIU, Qi GUO, Yunji CHEN, Tianshi CHEN
Life of this patent
Estimating the term…
Abstract
Aspects for executing forward propagation of artificial neural network are described here. As an example, the aspects may include a plurality of computation modules connected via an interconnection unit; and a controller unit configured to decode an instruction into one or more groups of micro-instructions, wherein the plurality of computation modules are configured to perform respective groups of the micro-instructions.
Claims20
An apparatus for forward propagation of a multilayer neural network, comprising:
- a plurality of computation modules connected via an interconnection unit;
- and
- a controller unit configured to decode an instruction into one or more groups of micro-instructions, wherein the plurality of computation modules are configured to perform respective groups of the micro-instructions.
A method for forward propagation of a multilayer neural network, comprising:
- receiving, by a controller unit, an instruction;
- decoding, by the controller unit, the instruction into one or more groups of micro-instructions;
- and
- assigning, by the controller unit, the one or more groups of micro-instruction respectively to a plurality of computation modules.
The method of 12, further comprising:
- receiving, by a slave computation unit included in the slave computation module, the one or more groups of micro-instructions;
- performing arithmetic logical operations according to the micro-instructions;
- perform, by a slave data dependency relationship determination unit, reading/writing operations to a slave neuron caching unit, a weight value caching unit, and a weight gradient caching unit based on a determination that no conflict exists between the reading/writing operations;
- and
- storing, by a weight value caching unit include in the slave computation module, weight vectors.
Dependencies are inferred from the claim text.