Skip to content

Commit 88ed470

Browse files
Remove note about interop issues with clamp()'s minValue == maxValue (#684)
SHA: 103647c Reason: push, by fdwr Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 44a92f8 commit 88ed470

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

index.html

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet">
88
<meta content="Bikeshed version 82ce88815, updated Thu Sep 7 16:33:55 2023 -0700" name="generator">
99
<link href="https://www.w3.org/TR/webnn/" rel="canonical">
10-
<meta content="b369a88aa09e4b4c941ff7c3a88240cccf0fdad3" name="document-revision">
10+
<meta content="103647c75217b80cf8a3a60192c78e42536fc783" name="document-revision">
1111
<style>
1212
/* Make <dl> blocks more distinct from their surroundings. */
1313
main dl:not(.switch) {
@@ -905,7 +905,7 @@
905905
<div class="head">
906906
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72"> </a> </p>
907907
<h1 class="p-name no-ref" id="title">Web Neural Network API</h1>
908-
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2024-05-07">7 May 2024</time></p>
908+
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2024-05-09">9 May 2024</time></p>
909909
<details open>
910910
<summary>More details about this document</summary>
911911
<div data-fill-with="spec-metadata">
@@ -2601,7 +2601,6 @@ <h4 class="heading settled" data-level="7.8.8" id="api-mlgraphbuilder-clamp"><sp
26012601
<ol>
26022602
<li data-md>
26032603
<p>If <var>options</var>.<code class="idl"><a data-link-type="idl" href="#dom-mlclampoptions-minvalue" id="ref-for-dom-mlclampoptions-minvalue①">minValue</a></code> is greater than <var>options</var>.<code class="idl"><a data-link-type="idl" href="#dom-mlclampoptions-maxvalue" id="ref-for-dom-mlclampoptions-maxvalue①">maxValue</a></code>, then return false.</p>
2604-
<p class="issue" id="issue-ebd3b60c"><a class="self-link" href="#issue-ebd3b60c"></a> Not all implementations support <code class="idl"><a data-link-type="idl" href="#dom-mlclampoptions-minvalue" id="ref-for-dom-mlclampoptions-minvalue②">minValue</a></code> equal to <code class="idl"><a data-link-type="idl" href="#dom-mlclampoptions-maxvalue" id="ref-for-dom-mlclampoptions-maxvalue②">maxValue</a></code>. <a href="https://github.com/webmachinelearning/webnn/issues/396">[Issue #396]</a></p>
26052604
<li data-md>
26062605
<p>Return true.</p>
26072606
</ol>
@@ -2634,7 +2633,7 @@ <h5 class="heading settled" data-level="7.8.8.1" id="api-mlgraphbuilder-clamp-op
26342633
<li data-md>
26352634
<p>Let <var>output</var> be the result of <a data-link-type="dfn" href="#copy-an-mloperand" id="ref-for-copy-an-mloperand①">copying an MLOperand</a> given <var>input</var>.</p>
26362635
<li data-md>
2637-
<p>Let <var>operator</var> be an <a data-link-type="dfn" href="#operators" id="ref-for-operators①③">operator</a> for the clamp operation, given <var>options</var>.<code class="idl"><a data-link-type="idl" href="#dom-mlclampoptions-minvalue" id="ref-for-dom-mlclampoptions-minvalue">minValue</a></code> and <var>options</var>.<code class="idl"><a data-link-type="idl" href="#dom-mlclampoptions-maxvalue" id="ref-for-dom-mlclampoptions-maxvalue">maxValue</a></code>.</p>
2636+
<p>Let <var>operator</var> be an <a data-link-type="dfn" href="#operators" id="ref-for-operators①③">operator</a> for the clamp operation, given <var>options</var>.<code class="idl"><a data-link-type="idl" href="#dom-mlclampoptions-minvalue" id="ref-for-dom-mlclampoptions-minvalue">minValue</a></code> and <var>options</var>.<code class="idl"><a data-link-type="idl" href="#dom-mlclampoptions-maxvalue" id="ref-for-dom-mlclampoptions-maxvalue">maxValue</a></code>.</p>
26382637
<li data-md>
26392638
<p>Set <var>output</var>.<code class="idl"><a data-link-type="idl" href="#dom-mloperand-operator-slot" id="ref-for-dom-mloperand-operator-slot⑤">[[operator]]</a></code> to <var>operator</var>.</p>
26402639
<li data-md>
@@ -9655,7 +9654,6 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
96559654
<div class="issue"> The maximum number of operand dimensions is not defined, but native ML APIs usually have a maximum supported size. <a href="https://github.com/webmachinelearning/webnn/issues/456">[Issue #456]</a> <a class="issue-return" href="#issue-8054fa8e" title="Jump to section">↵</a></div>
96569655
<div class="issue"> If <code class="idl"><a data-link-type="idl" href="#mlgraphbuilder">MLGraphBuilder</a></code> can’t be re-used, then this can be simplified: enforce uniqueness in <code class="idl"><a data-link-type="idl" href="#dom-mlgraphbuilder-input">input()</a></code> instead, and iteration can be done over all of the graph’s inputs instead of needing this traversal. <a href="https://github.com/webmachinelearning/webnn/issues/567">[Issue #567]</a> <a class="issue-return" href="#issue-91f4b8a3" title="Jump to section">↵</a></div>
96579656
<div class="issue"> If <code class="idl"><a data-link-type="idl" href="#dom-mlgraphbuilder-constant">constants'</a></code> <code class="idl"><a data-link-type="idl" href="https://webidl.spec.whatwg.org/#idl-ArrayBuffer">ArrayBuffer</a></code>s are not <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#arraybuffer-transfer">transferred</a>, make copies for <a data-link-type="dfn" href="#mlgraphbuilder-graph">graph</a>'s <a data-link-type="dfn" href="#computational-graph-constants">constants</a> here. <a href="https://github.com/webmachinelearning/webnn/issues/566">[Issue #566]</a> <a class="issue-return" href="#issue-6f962d4f" title="Jump to section">↵</a></div>
9658-
<div class="issue"> Not all implementations support <code class="idl"><a data-link-type="idl" href="#dom-mlclampoptions-minvalue">minValue</a></code> equal to <code class="idl"><a data-link-type="idl" href="#dom-mlclampoptions-maxvalue">maxValue</a></code>. <a href="https://github.com/webmachinelearning/webnn/issues/396">[Issue #396]</a> <a class="issue-return" href="#issue-ebd3b60c" title="Jump to section">↵</a></div>
96599657
</div>
96609658
<script>/* Boilerplate: script-dfn-panel */
96619659
"use strict";
@@ -10163,8 +10161,8 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
1016310161
window.dfnpanelData['dom-mlgraphbuilder-batchnormalization'] = {"dfnID": "dom-mlgraphbuilder-batchnormalization", "url": "#dom-mlgraphbuilder-batchnormalization", "dfnText": "batchNormalization(input, mean, variance, options)", "refSections": [{"refs": [{"id": "ref-for-dom-mlgraphbuilder-batchnormalization"}], "title": "7.8.6. batchNormalization"}, {"refs": [{"id": "ref-for-dom-mlgraphbuilder-batchnormalization\u2460"}], "title": "7.8.24. instanceNormalization"}, {"refs": [{"id": "ref-for-dom-mlgraphbuilder-batchnormalization\u2461"}], "title": "7.8.25. layerNormalization"}], "external": false};
1016410162
window.dfnpanelData['dom-mlgraphbuilder-cast'] = {"dfnID": "dom-mlgraphbuilder-cast", "url": "#dom-mlgraphbuilder-cast", "dfnText": "cast(input, type)", "refSections": [{"refs": [{"id": "ref-for-dom-mlgraphbuilder-cast"}], "title": "7.8.7. cast"}], "external": false};
1016510163
window.dfnpanelData['dictdef-mlclampoptions'] = {"dfnID": "dictdef-mlclampoptions", "url": "#dictdef-mlclampoptions", "dfnText": "MLClampOptions", "refSections": [{"refs": [{"id": "ref-for-dictdef-mlclampoptions"}, {"id": "ref-for-dictdef-mlclampoptions\u2460"}, {"id": "ref-for-dictdef-mlclampoptions\u2461"}], "title": "7.8.8. clamp"}, {"refs": [{"id": "ref-for-dictdef-mlclampoptions\u2462"}], "title": "7.8.8.1. clamp(input, options)"}, {"refs": [{"id": "ref-for-dictdef-mlclampoptions\u2463"}], "title": "7.8.8.2. clamp(options)"}], "external": false};
10166-
window.dfnpanelData['dom-mlclampoptions-minvalue'] = {"dfnID": "dom-mlclampoptions-minvalue", "url": "#dom-mlclampoptions-minvalue", "dfnText": "minValue", "refSections": [{"refs": [{"id": "ref-for-dom-mlclampoptions-minvalue"}, {"id": "ref-for-dom-mlclampoptions-minvalue\u2460"}, {"id": "ref-for-dom-mlclampoptions-minvalue\u2461"}], "title": "7.8.8. clamp"}, {"refs": [{"id": "ref-for-dom-mlclampoptions-minvalue\u2462"}], "title": "7.8.8.1. clamp(input, options)"}], "external": false};
10167-
window.dfnpanelData['dom-mlclampoptions-maxvalue'] = {"dfnID": "dom-mlclampoptions-maxvalue", "url": "#dom-mlclampoptions-maxvalue", "dfnText": "maxValue", "refSections": [{"refs": [{"id": "ref-for-dom-mlclampoptions-maxvalue"}, {"id": "ref-for-dom-mlclampoptions-maxvalue\u2460"}, {"id": "ref-for-dom-mlclampoptions-maxvalue\u2461"}], "title": "7.8.8. clamp"}, {"refs": [{"id": "ref-for-dom-mlclampoptions-maxvalue\u2462"}], "title": "7.8.8.1. clamp(input, options)"}], "external": false};
10164+
window.dfnpanelData['dom-mlclampoptions-minvalue'] = {"dfnID": "dom-mlclampoptions-minvalue", "url": "#dom-mlclampoptions-minvalue", "dfnText": "minValue", "refSections": [{"refs": [{"id": "ref-for-dom-mlclampoptions-minvalue"}, {"id": "ref-for-dom-mlclampoptions-minvalue\u2460"}], "title": "7.8.8. clamp"}, {"refs": [{"id": "ref-for-dom-mlclampoptions-minvalue\u2461"}], "title": "7.8.8.1. clamp(input, options)"}], "external": false};
10165+
window.dfnpanelData['dom-mlclampoptions-maxvalue'] = {"dfnID": "dom-mlclampoptions-maxvalue", "url": "#dom-mlclampoptions-maxvalue", "dfnText": "maxValue", "refSections": [{"refs": [{"id": "ref-for-dom-mlclampoptions-maxvalue"}, {"id": "ref-for-dom-mlclampoptions-maxvalue\u2460"}], "title": "7.8.8. clamp"}, {"refs": [{"id": "ref-for-dom-mlclampoptions-maxvalue\u2461"}], "title": "7.8.8.1. clamp(input, options)"}], "external": false};
1016810166
window.dfnpanelData['check-clamp-options'] = {"dfnID": "check-clamp-options", "url": "#check-clamp-options", "dfnText": "check clamp options", "refSections": [{"refs": [{"id": "ref-for-check-clamp-options"}], "title": "7.8.8.1. clamp(input, options)"}, {"refs": [{"id": "ref-for-check-clamp-options\u2460"}], "title": "7.8.8.2. clamp(options)"}], "external": false};
1016910167
window.dfnpanelData['dom-mlgraphbuilder-clamp'] = {"dfnID": "dom-mlgraphbuilder-clamp", "url": "#dom-mlgraphbuilder-clamp", "dfnText": "clamp(input, options)", "refSections": [{"refs": [{"id": "ref-for-dom-mlgraphbuilder-clamp"}], "title": "7.8.8. clamp"}, {"refs": [{"id": "ref-for-dom-mlgraphbuilder-clamp\u2460"}], "title": "7.8.8.1. clamp(input, options)"}], "external": false};
1017010168
window.dfnpanelData['dom-mlgraphbuilder-clamp-options'] = {"dfnID": "dom-mlgraphbuilder-clamp-options", "url": "#dom-mlgraphbuilder-clamp-options", "dfnText": "clamp(options)", "refSections": [{"refs": [{"id": "ref-for-dom-mlgraphbuilder-clamp-options"}], "title": "7.8.8. clamp"}, {"refs": [{"id": "ref-for-dom-mlgraphbuilder-clamp-options\u2460"}], "title": "7.8.8.2. clamp(options)"}, {"refs": [{"id": "ref-for-dom-mlgraphbuilder-clamp-options\u2461"}], "title": "7.8.17. gather"}], "external": false};

0 commit comments

Comments
 (0)