Skip to content

Commit eb798fc

Browse files
xykong58gramalingam
authored andcommitted
Fix inconsistency in describing graph's initializer. The initializer (#2115)
is no longer required to be subset of graph's inputs.
1 parent 355a495 commit eb798fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/IR.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Graphs have the following properties:
156156
|---|---|---|
157157
name|string|The name of the model graph.
158158
node|Node[]|A list of nodes, forming a partially ordered computation graph based on input/output data dependencies.
159-
initializer|Tensor[]|A list of named tensor values, used to specify default values for some of the inputs of the graph. Each initializer value is associated with an input by name matching.
159+
initializer|Tensor[]|A list of named tensor values. When an initializer has the same name as a graph input, it specifies a default value for that input. When an initializer has a name different from all graph inputs, it specifies a constant value.
160160
doc_string|string|A human-readable documentation for this model. Markdown is allowed.
161161
input|ValueInfo[]|The input “parameters” of the graph, possibly initialized by a default value found in ‘initializer.’
162162
output|ValueInfo[]|The output parameters of the graph. Once all output parameters have been written to by a graph execution, the execution is complete.

0 commit comments

Comments
 (0)