File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docs/website/docs/ir_spec Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ semantics of PyTorch programs that are written in Python. EXIR primarily
8
8
represents computation in a streamlined list of operations, with limited support
9
9
for dynamism such as control flows.
10
10
11
- To create an EXIR, a front end can be used that soundly captures a PyTorch
11
+ To create an EXIR, a frontend can be used that soundly captures a PyTorch
12
12
program via a trace-specializing mechanism. The resulting EXIR can then be
13
13
optimized and executed by a backend.
14
14
15
15
The key concepts that will be covered in this document include:
16
- - ExportedProgram: the datastructure containing the EXIR program
16
+ - ExportedProgram: the data structure containing the EXIR program
17
17
- Graph: which consists of a list of nodes.
18
18
- Nodes represent operations, control flow, and metadata stored on this node.
19
19
- Values are produced and consumed by nodes.
@@ -98,7 +98,7 @@ details in the next section):
98
98
* 0 or more nodes of op type ` call_function `
99
99
* exactly 1 node of op type ` output `
100
100
101
- ** Collorary:** The smallest valid Graph will be of one Node . i.e. nodes is never empty.
101
+ ** Collorary:** The smallest valid Graph will be of one node . i.e. nodes is never empty.
102
102
103
103
** Definition:**
104
104
The set of ` placeholder ` nodes of a Graph represents the ** inputs** of the Graph of GraphModule.
You can’t perform that action at this time.
0 commit comments