Skip to content

Commit 611a432

Browse files
committed
Fix bikeshed errors
1 parent c012530 commit 611a432

File tree

1 file changed

+8
-30
lines changed

1 file changed

+8
-30
lines changed

index.bs

Lines changed: 8 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2936,7 +2936,8 @@ dictionary MLCumulativeSumOptions : MLOperatorOptions
29362936
{
29372937
bool exclusive = false;
29382938
bool reversed = false;
2939-
}
2939+
};
2940+
29402941
partial interface MLGraphBuilder {
29412942
MLOperand cumulativeSum(MLOperand input,
29422943
unsigned long axis,
@@ -2948,7 +2949,7 @@ partial dictionary MLOpSupportLimits {
29482949
};
29492950
</script>
29502951

2951-
<table id=constraints-cumulativesum class='data' link-for="MLGraphBuilder/cumulativeSum(input, options)">
2952+
<table id=constraints-cumulativesum class='data' link-for="MLGraphBuilder/cumulativeSum(input, axis, options)">
29522953
<caption>Constraints for {{MLGraphBuilder/cumulativeSum()}}</caption>
29532954
<thead>
29542955
<tr>
@@ -3357,6 +3358,7 @@ Although operations {{MLGraphBuilder/greaterOrEqual()}} and {{MLGraphBuilder/les
33573358
1. Return |output|.
33583359
</div>
33593360

3361+
<div algorithm>
33603362
The <dfn method for=MLGraphBuilder>notEqual(|a|, |b|, |options|)</dfn> method steps are:
33613363
1. Let |output| be the result of running the [=MLGraphBuilder/element-wise-logical-op | create element-wise logical operation=] given "notEqual", |a|, |b|, and |options|.
33623364
1. If that [=exception/throws=] an error, then re-[=exception/throw=] the error.
@@ -3514,7 +3516,7 @@ partial dictionary MLOpSupportLimits {
35143516
:: Support limits for operator {{MLGraphBuilder/reciprocal()}}.
35153517
: <dfn>sin</dfn>
35163518
:: Support limits for operator {{MLGraphBuilder/sin()}}.
3517-
: <dfn>sqrt</dfn>
3519+
: <dfn>sign</dfn>
35183520
:: Support limits for operator {{MLGraphBuilder/sign()}}.
35193521
: <dfn>sqrt</dfn>
35203522
:: Support limits for operator {{MLGraphBuilder/sqrt()}}.
@@ -3803,7 +3805,7 @@ partial dictionary MLOpSupportLimits {
38033805

38043806
function blockwiseBroadcast(builder, input, targetShape) {
38053807
// This expands each axis by repeating the block the number of times per that axis, given the
3806-
// original input shape and target shape. However, backend implementations may have much more
3808+
// original input shape and target shape. However, backend implementations might have much more
38073809
// efficient upsampling operators that can accept multiple dimensions to upsample all
38083810
// dimensions at once by integer multiples (like tile) using nearest neighbor resampling:
38093811
// output = resample(scale, {sizes: input.shape})
@@ -3909,22 +3911,10 @@ partial dictionary MLOpSupportLimits {
39093911
<tr>
39103912
<td>*output*</td>
39113913
<td>[=/same type as|same as=] {{zeroPoint}}</td>
3912-
<td>[=/same rank as|same as=] {{input}}</td></td>
3914+
<td>[=/same rank as|same as=] {{input}}</td>
39133915
</tr>
39143916
</table>
39153917

3916-
{{MLQuantizationSupportLimits}} has the following members:
3917-
<dl dfn-type=dict-member dfn-for=MLQuantizationSupportLimits>
3918-
: <dfn>input</dfn>
3919-
:: {{MLSupportLimits}} for input operand.
3920-
: <dfn>scale</dfn>
3921-
:: {{MLSupportLimits}} for scale operand.
3922-
: <dfn>zeroPoint</dfn>
3923-
:: {{MLSupportLimits}} for zeroPoint operand.
3924-
: <dfn>output</dfn>
3925-
:: {{MLSupportLimits}} for output operand.
3926-
</dl>
3927-
39283918
{{MLOpSupportLimits}} has the following member for {{MLGraphBuilder/quantizeLinear()}}:
39293919
<dl dfn-type=dict-member dfn-for=MLOpSupportLimits>
39303920
: <dfn>quantizeLinear</dfn>
@@ -8178,18 +8168,6 @@ partial dictionary MLOpSupportLimits {
81788168
**Returns:** an {{MLOperand}}. The output N-D tensor of [=MLOperand/rank=] equal to the [=MLOperand/rank=] of *input*'s [=MLOperand/rank=] + *indices*'s [=MLOperand/rank=] - *indices*'s [=MLOperand/shape=][-1] - 1.
81798169
</div>
81808170

8181-
{{MLScatterSupportLimits}} has the following members:
8182-
<dl dfn-type=dict-member dfn-for=MLScatterSupportLimits>
8183-
: <dfn>input</dfn>
8184-
:: {{MLSupportLimits}} for input operand.
8185-
: <dfn>indices</dfn>
8186-
:: {{MLSupportLimits}} for indices operand.
8187-
: <dfn>updates</dfn>
8188-
:: {{MLSupportLimits}} for updates operand.
8189-
: <dfn>output</dfn>
8190-
:: {{MLSupportLimits}} for output operand.
8191-
</dl>
8192-
81938171
<table id=constraints-scatternd class='data' link-for="MLGraphBuilder/scatterND(input, indices, updates, options)">
81948172
<caption>Constraints for {{MLGraphBuilder/scatterND()}}</caption>
81958173
<thead>
@@ -8915,7 +8893,7 @@ partial dictionary MLOpSupportLimits {
89158893
**Returns:** an {{MLOperand}}. The reversed N-D tensor.
89168894
</div>
89178895

8918-
<table id=constraints-transpose class='data' link-for="MLGraphBuilder/tile(input, options)">
8896+
<table id=constraints-transpose class='data' link-for="MLGraphBuilder/tile(input, repetitions, options)">
89198897
<caption>Constraints for {{MLGraphBuilder/tile()}}</caption>
89208898
<thead>
89218899
<tr>

0 commit comments

Comments
 (0)