Skip to content

Commit 6643ce2

Browse files
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.
1 parent 69aeffa commit 6643ce2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

index.bs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,6 @@ partial interface MLContext {
11651165
To <dfn>validate buffer with descriptor</dfn> given |bufferView| and |descriptor|, run the following steps:
11661166
</summary>
11671167
<div class=algorithm-steps>
1168-
1. If |bufferView| is not an {{MLBufferView}}, return false.
11691168
1. If |bufferView|'s [=element type=] does not match to |descriptor|.{{MLOperandDescriptor/dataType}} according to [this table](#appendices-mloperanddatatype-arraybufferview-compatibility), return false.
11701169
1. If |bufferView|.\[[ByteLength]] is not equal to the [=byte length=] of |descriptor|, return false.
11711170
</div>

0 commit comments

Comments
 (0)