Invention Grant
- Patent Title: Method and apparatus of executing dynamic graph for neural network computation
-
Application No.: US17833088Application Date: 2022-06-06
-
Publication No.: US11861505B2Publication Date: 2024-01-02
- Inventor: Hongsheng Wang , Hujun Bao , Guang Chen
- Applicant: ZHEJIANG LAB
- Applicant Address: CN Hangzhou
- Assignee: ZHEJIANG LAB
- Current Assignee: ZHEJIANG LAB
- Current Assignee Address: CN Hangzhou
- Agency: IPro, PLLC
- Priority: CN 2210381726.9 2022.04.13
- Main IPC: G06N3/10
- IPC: G06N3/10 ; G06N7/01 ; G06N3/04

Abstract:
The disclosure discloses a method of executing dynamic graph for neural network computation and the apparatus thereof. The method of executing dynamic graph includes the following steps: S1: constructing and distributing an operator and a tensor; S2: deducing an operator executing process by an operator interpreter; S3: constructing an instruction of a virtual machine at runtime by the operator interpreter; S4: sending the instruction to the virtual machine at runtime by the operator interpreter; S5: scheduling the instruction by the virtual machine; and S6: releasing an executed instruction by the virtual machine. According to the method of executing dynamic graph for neural network computation and the apparatus thereof provided by the disclosure, runtime is abstracted to be the virtual machine, and the virtual machine acquires a sub-graph of each step constructed by a user in real time through the interpreter and schedules, the virtual machines issues, and executes each sub-graph.
Public/Granted literature
- US20230334334A1 METHOD AND APPARATUS OF EXECUTING DYNAMIC GRAPH FOR NEURAL NETWORK COMPUTATION Public/Granted day:2023-10-19
Information query