Skip to content

Commit c89cd6d

Browse files
Update index.bs
Co-authored-by: Ningxin Hu <[email protected]>
1 parent 2fb2bf4 commit c89cd6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3379,7 +3379,7 @@ partial interface MLGraphBuilder {
33793379
1. If its [=rank=] is not equal to 3 * |hiddenSize|, then [=exception/throw=] a "{{DataError}}" {{DOMException}}.
33803380
1. If |options|.{{MLGruOptions/activations}} [=map/exists=] and its [=list/size=] is not 2, then [=exception/throw=] a {{TypeError}}.
33813381
1. Let |desc| be a new {{MLOperandDescriptor}}.
3382-
1. Set |desc|.{{MLOperandDescriptor/dimensions}} the [=/list=] « |input|.{{MLOperandDescriptor/dimensions}}[0], |hiddenSize| ».
3382+
1. Set |desc|.{{MLOperandDescriptor/dimensions}} to the [=/list=] « |input|.{{MLOperandDescriptor/dimensions}}[0], |hiddenSize| ».
33833383
1. Set |desc|.{{MLOperandDescriptor/dataType}} to |input|.{{MLOperand/[[descriptor]]}}.{{MLOperandDescriptor/dataType}}.
33843384
1. If any of the following sub-steps fail, [=exception/throw=] an "{{OperationError}}" {{DOMException}}.
33853385
1. Let |output| be the result of [=creating an MLOperand=] given [=this=] and |desc|.

0 commit comments

Comments
 (0)