Skip to content

Commit a5ed92d

Browse files
committed
Float16Array is now at ECMA Stage 3
- Add {{Float16Array}} Bikeshed custom definition - Convert the related in-spec issue into a note - Tweak the note wording
1 parent c2be7de commit a5ed92d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

index.bs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ urlPrefix: https://webidl.spec.whatwg.org/; spec: WEBIDL
6161
type: dfn
6262
text: underlying buffer; url: buffersource-underlying-buffer
6363
text: buffer byte length; url: buffersource-byte-length
64+
urlPrefix: https://tc39.es/proposal-float16array/; spec: float16array
65+
type: interface
66+
text: Float16Array; url: sec-float16array
6467
</pre>
6568
<pre class="biblio">
6669
{
@@ -3154,7 +3157,7 @@ console.log('Output value: ' + result.outputs.output);
31543157
<td>{{Float32Array}}
31553158
<tr>
31563159
<td>{{MLOperandType/float16}}
3157-
<td><p class="issue">TC39 <a href="https://tc39.es/proposal-float16array/">`Float16Array`</a> is work in progress. Implementations can emulate this type by passing raw bits via {{Uint16Array}}. <a href="https://github.com/webmachinelearning/webnn/issues/373">[Issue webnn#373]</a></p>
3160+
<td>{{Float16Array}}
31583161
<tr>
31593162
<td>{{MLOperandType/int32}}
31603163
<td>{{Int32Array}}
@@ -3169,6 +3172,8 @@ console.log('Output value: ' + result.outputs.output);
31693172
<td>{{Uint8Array}}
31703173
</table>
31713174

3175+
<p class="note">{{Float16Array}} is at <a href="https://tc39.es/process-document/">ECMA Stage 3</a> signalling its design is finished. Implementers wanting to enable this type ahead native implementations can emulate the type by passing raw bits via {{Uint16Array}}. <a href="https://github.com/webmachinelearning/webnn/issues/373">[Issue webnn#373]</a></p>
3176+
31723177
<h2 id="acknowledgements">Acknowledgements</h2>
31733178

31743179
This specification follows the concepts of the Android Neural Networks API C

0 commit comments

Comments
 (0)