CPC G06F 13/28 (2013.01) [G06F 12/0897 (2013.01)] | 7 Claims |
1. A data flow-based neural network multi-engine synchronous calculation system, comprising:
a plurality of calculation engines, wherein each calculation engine comprises a plurality of calculation modules and at least one cache module located at different layers, and wherein each of the plurality of calculation modules is configured to calculate an input calculation graph provided by the at least one cache module or by the calculation module of a preceding layer of the same calculation engine, to obtain an output calculation graph; and
at least one synchronization module, wherein each synchronization module is configured to monitor a data amount of the input calculation graph stored by each cache module of the same layer across the plurality of calculation engines, and control, when the data amount of the input calculation graph stored in each cache module reaches a preset value corresponding to that cache module, each cache module on the same layer to output the stored input calculation graph to the calculation module in a next layer of the same calculation engine, wherein the at least one synchronization module is configured to monitor the data amounts of the input calculation graphs stored by a first-layer cache module of the at least one cache module and a second-layer cache module of the at least one cache module, and when the difference between the data amounts of the input calculation graphs stored by the first-layer cache module and the second-layer cache module is within a respective preset range, data flows are synchronous.
|