Patent ID: 11861505
Assignee: ZHEJIANG LAB
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. The method of executing dynamic graph for neural network computation according to claim 7, wherein the step S533 of calling the computing function of the instruction according to the metainformation of the instruction includes the following specific process:
(1) acquiring device context information;
(2) acquiring a current operand;
(3) according to the device context information and the operand, allocating a memory to the output tensor, and allocating a memory to a temporary tensor;
(4) according to the device context information and the operand, initializing a state and a cache of the kernel function of the current operator; and
(5) according to the device context information, the operand, and the state and the cache of the kernel function of the current operator, carrying out computation by the kernel function of the current operator.