You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wording change: Remove arg type test for internal validation algorithm
The "validate buffer with descriptor given bufferView and descriptor"
was validating that the type of the buffer was MLBufferView. This is
not necessary, as all invokers (directly, and indirectly via "validate
graph resources") only accept MLBufferViews via the WebIDL signatures.
To <dfn>validate buffer with descriptor</dfn> given |bufferView| and |descriptor|, run the following steps:
1166
1166
</summary>
1167
1167
<div class=algorithm-steps>
1168
-
1. If |bufferView| is not an {{MLBufferView}}, return false.
1169
1168
1. If |bufferView|'s [=element type=] does not match to |descriptor|.{{MLOperandDescriptor/dataType}} according to [this table](#appendices-mloperanddatatype-arraybufferview-compatibility), return false.
1170
1169
1. If |bufferView|.\[[ByteLength]] is not equal to the [=byte length=] of |descriptor|, return false.
0 commit comments