| CPC G06F 9/4881 (2013.01) [G06N 3/084 (2013.01)] | 15 Claims |

|
1. A method, comprising:
acquiring a computing graph for a neural network, the computing graph comprising at least a plurality of nodes, each of the nodes comprising at least an operator for forward propagation of the neural network and a gradient operator of the operator for back propagation of the neural network; and
scheduling computing resources for the neural network based on the computing graph;
wherein the plurality of nodes comprise at least a plurality of upper nodes and a plurality of lower nodes, outputs from operators in a plurality of first upper nodes of the plurality of upper nodes are respective inputs to an operator in a first lower node of the plurality of lower nodes, and
scheduling the computing resources based on the computing graph comprises:
computing, in the forward propagation of the neural network, the operators in the plurality of first upper nodes in parallel using different computing resources, respectively; and
computing the operator in the first lower node upon completion of the computation of the operators in the plurality of first upper nodes.
|