Skip to content

Commit 5a79bf8

Browse files
author
reffy-bot
committed
Update of ED report from new reffy run
Using reffy commit 17.2.7.
1 parent d5d8c7f commit 5a79bf8

File tree

10 files changed

+613
-647
lines changed

10 files changed

+613
-647
lines changed

ed/algorithms/html.json

Lines changed: 11 additions & 8 deletions
Large diffs are not rendered by default.

ed/algorithms/webnn.json

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -427,26 +427,6 @@
427427
}
428428
]
429429
},
430-
{
431-
"name": "MLOperand/dataType()",
432-
"href": "https://webmachinelearning.github.io/webnn/#dom-mloperand-datatype",
433-
"rationale": ".algorithm",
434-
"steps": [
435-
{
436-
"html": "<p>Return <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#this\" id=\"ref-for-this⑦\">this</a>'s <a data-link-type=\"dfn\" href=\"https://webmachinelearning.github.io/webnn/#mloperand-datatype\" id=\"ref-for-mloperand-datatype①\">dataType</a>.</p>"
437-
}
438-
]
439-
},
440-
{
441-
"name": "MLOperand/shape()",
442-
"href": "https://webmachinelearning.github.io/webnn/#dom-mloperand-shape",
443-
"rationale": ".algorithm",
444-
"steps": [
445-
{
446-
"html": "<p>Return <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#this\" id=\"ref-for-this⑧\">this</a>'s <a data-link-type=\"dfn\" href=\"https://webmachinelearning.github.io/webnn/#mloperand-shape\" id=\"ref-for-mloperand-shape①\">shape</a>.</p>"
447-
}
448-
]
449-
},
450430
{
451431
"name": "MLGraphBuilder/MLGraphBuilder(context)",
452432
"href": "https://webmachinelearning.github.io/webnn/#dom-mlgraphbuilder-mlgraphbuilder",
@@ -475,7 +455,7 @@
475455
"html": "<p>If <var>name</var> is empty, then <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#dfn-throw\" id=\"ref-for-dfn-throw③\">throw</a> a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#exceptiondef-typeerror\" id=\"ref-for-exceptiondef-typeerror⑧\">TypeError</a></code>.</p>"
476456
},
477457
{
478-
"html": "<p>If any <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webmachinelearning.github.io/webnn/#mloperand\" id=\"ref-for-mloperand④⑧\">MLOperand</a></code>s in <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#this\" id=\"ref-for-this①③\">this</a>'s <a data-link-type=\"dfn\" href=\"https://webmachinelearning.github.io/webnn/#mlgraphbuilder-graph\" id=\"ref-for-mlgraphbuilder-graph\">graph</a>'s <a data-link-type=\"dfn\" href=\"https://webmachinelearning.github.io/webnn/#computational-graph-input\" id=\"ref-for-computational-graph-input\">inputs</a> have a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webmachinelearning.github.io/webnn/#dom-mloperand-name-slot\" id=\"ref-for-dom-mloperand-name-slot③\">[[name]]</a></code> equal to <var>name</var>, then <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#dfn-throw\" id=\"ref-for-dfn-throw④\">throw</a> a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#exceptiondef-typeerror\" id=\"ref-for-exceptiondef-typeerror⑨\">TypeError</a></code>.</p>"
458+
"html": "<p>If any <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webmachinelearning.github.io/webnn/#mloperand\" id=\"ref-for-mloperand④⑥\">MLOperand</a></code>s in <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#this\" id=\"ref-for-this①③\">this</a>'s <a data-link-type=\"dfn\" href=\"https://webmachinelearning.github.io/webnn/#mlgraphbuilder-graph\" id=\"ref-for-mlgraphbuilder-graph\">graph</a>'s <a data-link-type=\"dfn\" href=\"https://webmachinelearning.github.io/webnn/#computational-graph-input\" id=\"ref-for-computational-graph-input\">inputs</a> have a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webmachinelearning.github.io/webnn/#dom-mloperand-name-slot\" id=\"ref-for-dom-mloperand-name-slot③\">[[name]]</a></code> equal to <var>name</var>, then <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#dfn-throw\" id=\"ref-for-dfn-throw④\">throw</a> a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#exceptiondef-typeerror\" id=\"ref-for-exceptiondef-typeerror⑨\">TypeError</a></code>.</p>"
479459
},
480460
{
481461
"html": "<p>If <a data-link-type=\"dfn\" href=\"https://webmachinelearning.github.io/webnn/#mloperanddescriptor-check-dimensions\" id=\"ref-for-mloperanddescriptor-check-dimensions\">checking dimensions</a> given <var>descriptor</var> returns false, then <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#dfn-throw\" id=\"ref-for-dfn-throw⑤\">throw</a> a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#exceptiondef-typeerror\" id=\"ref-for-exceptiondef-typeerror①⓪\">TypeError</a></code>.</p>"
@@ -4728,7 +4708,7 @@
47284708
"html": "<p>If <a data-link-type=\"dfn\" href=\"https://webmachinelearning.github.io/webnn/#mlgraphbuilder-validate-operand\" id=\"ref-for-mlgraphbuilder-validate-operand③④\">validating operand</a> with <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#this\" id=\"ref-for-this①②⓪\">this</a> and <var>input</var> returns false, then <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#dfn-throw\" id=\"ref-for-dfn-throw③③④\">throw</a> a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#exceptiondef-typeerror\" id=\"ref-for-exceptiondef-typeerror②②⑤\">TypeError</a></code>.</p>"
47294709
},
47304710
{
4731-
"html": "<p>Let <var>outputShape</var> be an empty array of <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#idl-unsigned-long\" id=\"ref-for-idl-unsigned-long⑤\">unsigned long</a></code>.</p>"
4711+
"html": "<p>Let <var>outputShape</var> be an empty array of <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#idl-unsigned-long\" id=\"ref-for-idl-unsigned-long⑤\">unsigned long</a></code>.</p>"
47324712
},
47334713
{
47344714
"html": "<p>If <var>newShape</var>’s <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#list-size\" id=\"ref-for-list-size③⑦\">size</a> is 0, set <var>outputShape</var> to an empty <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#list\" id=\"ref-for-list④④\">list</a> for a scalar.</p>"
@@ -5013,7 +4993,7 @@
50134993
"html": "<p>If <var>axis</var> is greater than or equal to <var>input</var>’s <a data-link-type=\"dfn\" href=\"https://webmachinelearning.github.io/webnn/#mloperand-rank\" id=\"ref-for-mloperand-rank⑤④\">rank</a>, then <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#dfn-throw\" id=\"ref-for-dfn-throw③⑤⑨\">throw</a> a <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#exceptiondef-typeerror\" id=\"ref-for-exceptiondef-typeerror②④④\">TypeError</a></code>.</p>"
50144994
},
50154995
{
5016-
"html": "If <var>splits</var> is an <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#idl-unsigned-long\" id=\"ref-for-idl-unsigned-long⑦\">unsigned long</a></code>:",
4996+
"html": "If <var>splits</var> is an <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#idl-unsigned-long\" id=\"ref-for-idl-unsigned-long⑦\">unsigned long</a></code>:",
50174997
"rationale": "if",
50184998
"steps": [
50194999
{
@@ -5025,7 +5005,7 @@
50255005
]
50265006
},
50275007
{
5028-
"html": "If <var>splits</var> is a <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#idl-sequence\" id=\"ref-for-idl-sequence⑤\">sequence</a>&lt;<code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#idl-unsigned-long\" id=\"ref-for-idl-unsigned-long⑦\">unsigned long</a></code>&gt;:",
5008+
"html": "If <var>splits</var> is a <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#idl-sequence\" id=\"ref-for-idl-sequence⑤\">sequence</a>&lt;<code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#idl-unsigned-long\" id=\"ref-for-idl-unsigned-long⑦\">unsigned long</a></code>&gt;:",
50295009
"rationale": "if",
50305010
"steps": [
50315011
{
@@ -5057,7 +5037,7 @@
50575037
"html": "<p>Let <var>operand</var> be the result of <a data-link-type=\"dfn\" href=\"https://webmachinelearning.github.io/webnn/#copy-an-mloperand\" id=\"ref-for-copy-an-mloperand①⑦\">copying an MLOperand</a> given <var>input</var>.</p>"
50585038
},
50595039
{
5060-
"html": "<p>If <var>splits</var> is an <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#idl-unsigned-long\" id=\"ref-for-idl-unsigned-long⑦\">unsigned long</a></code>, then let <var>newDimension</var> be <var>operand</var>’s <a data-link-type=\"dfn\" href=\"https://webmachinelearning.github.io/webnn/#mloperand-shape\" id=\"ref-for-mloperand-shape⑧⑨\">shape</a>[<var>axis</var>] / <var>splits</var>.</p>"
5040+
"html": "<p>If <var>splits</var> is an <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://webidl.spec.whatwg.org/#idl-unsigned-long\" id=\"ref-for-idl-unsigned-long⑦\">unsigned long</a></code>, then let <var>newDimension</var> be <var>operand</var>’s <a data-link-type=\"dfn\" href=\"https://webmachinelearning.github.io/webnn/#mloperand-shape\" id=\"ref-for-mloperand-shape⑧⑨\">shape</a>[<var>axis</var>] / <var>splits</var>.</p>"
50615041
},
50625042
{
50635043
"html": "<p>Otherwise, let <var>newDimension</var> be <var>splits</var>[<var>index</var>].</p>"

ed/dfns/webnn.json

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1930,6 +1930,27 @@
19301930
},
19311931
"definedIn": "dt"
19321932
},
1933+
{
1934+
"id": "mloperand-datatype",
1935+
"href": "https://webmachinelearning.github.io/webnn/#mloperand-datatype",
1936+
"linkingText": [
1937+
"dataType"
1938+
],
1939+
"localLinkingText": [],
1940+
"type": "dfn",
1941+
"for": [
1942+
"MLOperand"
1943+
],
1944+
"access": "private",
1945+
"informative": false,
1946+
"heading": {
1947+
"id": "api-mloperand",
1948+
"href": "https://webmachinelearning.github.io/webnn/#api-mloperand",
1949+
"title": "MLOperand interface",
1950+
"number": "7.6"
1951+
},
1952+
"definedIn": "prose"
1953+
},
19331954
{
19341955
"id": "mloperand-shape",
19351956
"href": "https://webmachinelearning.github.io/webnn/#mloperand-shape",
@@ -1973,17 +1994,38 @@
19731994
"definedIn": "prose"
19741995
},
19751996
{
1976-
"id": "mloperand-datatype",
1977-
"href": "https://webmachinelearning.github.io/webnn/#mloperand-datatype",
1997+
"id": "dom-mloperand-datatype",
1998+
"href": "https://webmachinelearning.github.io/webnn/#dom-mloperand-datatype",
19781999
"linkingText": [
19792000
"dataType"
19802001
],
19812002
"localLinkingText": [],
1982-
"type": "dfn",
2003+
"type": "attribute",
19832004
"for": [
19842005
"MLOperand"
19852006
],
1986-
"access": "private",
2007+
"access": "public",
2008+
"informative": false,
2009+
"heading": {
2010+
"id": "api-mloperand",
2011+
"href": "https://webmachinelearning.github.io/webnn/#api-mloperand",
2012+
"title": "MLOperand interface",
2013+
"number": "7.6"
2014+
},
2015+
"definedIn": "prose"
2016+
},
2017+
{
2018+
"id": "dom-mloperand-shape",
2019+
"href": "https://webmachinelearning.github.io/webnn/#dom-mloperand-shape",
2020+
"linkingText": [
2021+
"shape"
2022+
],
2023+
"localLinkingText": [],
2024+
"type": "attribute",
2025+
"for": [
2026+
"MLOperand"
2027+
],
2028+
"access": "public",
19872029
"informative": false,
19882030
"heading": {
19892031
"id": "api-mloperand",
@@ -2092,48 +2134,6 @@
20922134
},
20932135
"definedIn": "prose"
20942136
},
2095-
{
2096-
"id": "dom-mloperand-datatype",
2097-
"href": "https://webmachinelearning.github.io/webnn/#dom-mloperand-datatype",
2098-
"linkingText": [
2099-
"dataType()"
2100-
],
2101-
"localLinkingText": [],
2102-
"type": "method",
2103-
"for": [
2104-
"MLOperand"
2105-
],
2106-
"access": "public",
2107-
"informative": false,
2108-
"heading": {
2109-
"id": "api-mloperand-datatype",
2110-
"href": "https://webmachinelearning.github.io/webnn/#api-mloperand-datatype",
2111-
"title": "dataType()",
2112-
"number": "7.6.2"
2113-
},
2114-
"definedIn": "prose"
2115-
},
2116-
{
2117-
"id": "dom-mloperand-shape",
2118-
"href": "https://webmachinelearning.github.io/webnn/#dom-mloperand-shape",
2119-
"linkingText": [
2120-
"shape()"
2121-
],
2122-
"localLinkingText": [],
2123-
"type": "method",
2124-
"for": [
2125-
"MLOperand"
2126-
],
2127-
"access": "public",
2128-
"informative": false,
2129-
"heading": {
2130-
"id": "api-mloperand-shape",
2131-
"href": "https://webmachinelearning.github.io/webnn/#api-mloperand-shape",
2132-
"title": "shape()",
2133-
"number": "7.6.3"
2134-
},
2135-
"definedIn": "prose"
2136-
},
21372137
{
21382138
"id": "typedefdef-mlnamedoperands",
21392139
"href": "https://webmachinelearning.github.io/webnn/#typedefdef-mlnamedoperands",

ed/headings/webnn.json

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -399,20 +399,6 @@
399399
"title": "MLNumber",
400400
"number": "7.6.1.1"
401401
},
402-
{
403-
"id": "api-mloperand-datatype",
404-
"href": "https://webmachinelearning.github.io/webnn/#api-mloperand-datatype",
405-
"level": 4,
406-
"title": "dataType()",
407-
"number": "7.6.2"
408-
},
409-
{
410-
"id": "api-mloperand-shape",
411-
"href": "https://webmachinelearning.github.io/webnn/#api-mloperand-shape",
412-
"level": 4,
413-
"title": "shape()",
414-
"number": "7.6.3"
415-
},
416402
{
417403
"id": "api-mlgraphbuilder",
418404
"href": "https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder",

ed/idl/webnn.idl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ dictionary MLOperandDescriptor {
9595

9696
[SecureContext, Exposed=(Window, DedicatedWorker)]
9797
interface MLOperand {
98-
MLOperandDataType dataType();
99-
sequence<unsigned long> shape();
98+
readonly attribute MLOperandDataType dataType;
99+
readonly attribute FrozenArray<unsigned long> shape;
100100
};
101101

102102
dictionary MLOperatorOptions {
@@ -872,7 +872,7 @@ dictionary MLSplitSupportLimits {
872872
};
873873

874874
partial dictionary MLOpSupportLimits {
875-
MLSingleInputSupportLimits split;
875+
MLSplitSupportLimits split;
876876
};
877877

878878
partial interface MLGraphBuilder {

0 commit comments

Comments
 (0)