Skip to content

Commit fe6e88b

Browse files
authored
add a note for empty input (#632)
* add a note for empty input * address comment
1 parent 60b8e0a commit fe6e88b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.bs

+4
Original file line numberDiff line numberDiff line change
@@ -1284,6 +1284,10 @@ Create a named {{MLOperand}} based on a descriptor, that can be used as an input
12841284
1. Return |operand|.
12851285
</details>
12861286

1287+
<div class="note">
1288+
The {{MLGraphBuilder}} API allows creating an {{MLGraph}} without input operands. If the underlying platform doesn't support that, implementations may add a stub input or passing constants as inputs to the graph.
1289+
</div>
1290+
12871291
### constant operands ### {#api-mlgraphbuilder-constant}
12881292
Create a constant {{MLOperand}} that can be used in {{MLGraphBuilder}} methods.
12891293

0 commit comments

Comments
 (0)