Intermediate representation method and apparatus for compiling computation graphs
AssigneeZhejiang Lab
InventorsHongsheng Wang, Aimin Pan, Guang Chen
Life of this patent
Estimating the term…
Loading patent…
AssigneeZhejiang Lab
InventorsHongsheng Wang, Aimin Pan, Guang Chen
Estimating the term…
A process for generating an intermediate representation methodically compiles a neural network into a computation graph. First, a distinct node is built for every tensor variable within the graph, and this node is linked to a collection of pointers that reference the variable. Next, the method undertakes an analysis of the constraint relationships among these tensor variables. Using this information, it iteratively builds a topological graph that serves as the intermediate representation. Finally, this representation allows for the crucial step of analyzing variables that use different aliases but point to the same memory location, enabling the system to efficiently allocate a register for these aliased tensor variables.
An intermediate representation method for compiling computation graphs, comprising the following steps:
Dependencies are inferred from the claim text.