Skip to content

Commit 55183f7

Browse files
authored
Fix Bikeshed build errors (#564)
- No 'dfn' refs found for 'rank-' - No 'idl' refs found for 'MLCommandEncoder'
1 parent e3f32fe commit 55183f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.bs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Logo: https://webmachinelearning.github.io/webmachinelearning-logo.png
2323
Deadline: 2023-10-01
2424
Status Text: <p>
2525
Further implementation experience and user feedback is being gathered for the
26-
{{MLCommandEncoder}} interface that proposes to enable more efficient WebGPU
26+
<code>MLCommandEncoder</code> interface that proposes to enable more efficient WebGPU
2727
integration. A proposal to
2828
<a href="https://github.com/webmachinelearning/webnn/pull/322">simplify
2929
MLContext creation</a> is being discussed. This document is maintained and
@@ -3676,7 +3676,7 @@ partial interface MLGraphBuilder {
36763676
The <dfn method for=MLGraphBuilder>layerNormalization(|input|, |options|)</dfn> method steps are:
36773677
</summary>
36783678
<div class=algorithm-steps>
3679-
1. If |options|.{{MLLayerNormalizationOptions/axes}} does not [=map/exist=], then set |options|.{{MLLayerNormalizationOptions/axes}} to a new [=/list=], either equal to [=the range=] from 1 to |input|'s [=rank-=], exclusive, if |input|'s [=rank=] is greater than 1, or an empty [=/list=] otherwise.
3679+
1. If |options|.{{MLLayerNormalizationOptions/axes}} does not [=map/exist=], then set |options|.{{MLLayerNormalizationOptions/axes}} to a new [=/list=], either equal to [=the range=] from 1 to |input|'s [=rank=], exclusive, if |input|'s [=rank=] is greater than 1, or an empty [=/list=] otherwise.
36803680
1. If the [=rank=] of |options|.{{MLLayerNormalizationOptions/scale}} is not equal to the [=list/size=] of |options|.{{MLLayerNormalizationOptions/axes}}, then [=exception/throw=] a "{{DataError}}" {{DOMException}}.
36813681
1. If the [=rank=] of |options|.{{MLLayerNormalizationOptions/bias}} is not equal to the [=list/size=] of |options|.{{MLLayerNormalizationOptions/axes}}, then [=exception/throw=] a "{{DataError}}" {{DOMException}}.
36823682
1. [=list/For each=] |index| in [=the range=] 0 to the [=list/size=] of |options|.{{MLLayerNormalizationOptions/axes}}, exclusive:

0 commit comments

Comments
 (0)