|
5 | 5 | <title>Web Neural Network API</title> |
6 | 6 | <meta content="ED" name="w3c-status"> |
7 | 7 | <link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet"> |
8 | | - <meta content="Bikeshed version 3c53a5b02, updated Thu Nov 27 17:03:30 2025 +0000" name="generator"> |
| 8 | + <meta content="Bikeshed version ac6b08744, updated Wed Dec 10 23:44:49 2025 +0000" name="generator"> |
9 | 9 | <link href="https://www.w3.org/TR/webnn/" rel="canonical"> |
10 | | - <meta content="a1e0adf6835b6a0c74ad39338fe34a18f0114861" name="revision"> |
| 10 | + <meta content="94bcacb2ec72c17e7f35e67e5ba4abe6a4724c2f" name="revision"> |
11 | 11 | <meta content="dark light" name="color-scheme"> |
12 | 12 | <link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css"> |
13 | 13 | <style> |
|
1022 | 1022 | </p> |
1023 | 1023 | <h1 class="no-ref p-name" id="title">Web Neural Network API</h1> |
1024 | 1024 | <p id="w3c-state"><a href="https://www.w3.org/standards/types/#ED">Editor’s Draft</a>, |
1025 | | - <time class="dt-updated" datetime="2025-12-03">3 December 2025</time></p> |
| 1025 | + <time class="dt-updated" datetime="2025-12-12">12 December 2025</time></p> |
1026 | 1026 | <details open> |
1027 | 1027 | <summary>More details about this document</summary> |
1028 | 1028 | <div data-fill-with="spec-metadata"> |
@@ -4950,7 +4950,7 @@ <h4 class="heading settled" data-level="8.9.13" id="api-mlgraphbuilder-binary">< |
4950 | 4950 | <li data-md> |
4951 | 4951 | <p><em>mul</em>: Multiply the values of the two input tensors, element-wise.</p> |
4952 | 4952 | <li data-md> |
4953 | | - <p><em>div</em>: Divide the values of the first input tensor with the values of the second tensor, element-wise.</p> |
| 4953 | + <p><em>div</em>: Divide the values of the first input tensor with the values of the second tensor, element-wise. Integer types are truncated toward zero.</p> |
4954 | 4954 | <li data-md> |
4955 | 4955 | <p><em>max</em>: Select the greater values of the two input tensors, element-wise.</p> |
4956 | 4956 | <li data-md> |
@@ -11201,7 +11201,10 @@ <h4 class="heading settled" data-level="8.9.41" id="api-mlgraphbuilder-resample2 |
11201 | 11201 | unclampedCoordinate = (outputCoordinate + 0.5) / scale - 0.5 |
11202 | 11202 | inputCoordinate = clamp(unclampedCoordinate, 0, inputSize - 1) |
11203 | 11203 | </pre> |
11204 | | - <p>For a given <code>outputCoordinate.x</code> and <code>outputCoordinate.y</code> location in the output tensor, the above equations give a rational <code>inputCoordinate.x</code> and <code>inputCoordinate.y</code>.</p> |
| 11204 | + |
| 11205 | +For a given <code>outputCoordinate.x</code> and <code>outputCoordinate.y</code> location in the output tensor, the above equations give a rational <code>inputCoordinate.x</code> and <code>inputCoordinate.y</code>. |
| 11206 | + |
| 11207 | + |
11205 | 11208 | <dl> |
11206 | 11209 | <dt data-md><dfn class="dfn-paneled idl-code" data-dfn-for="MLInterpolationMode" data-dfn-type="enum-value" data-export data-lt=""nearest-neighbor"|nearest-neighbor" id="dom-mlinterpolationmode-nearest-neighbor"><code>nearest-neighbor</code></dfn> |
11207 | 11210 | <dd data-md> |
|
0 commit comments