Skip to content

Commit

Permalink
Merge pull request #510 from inexorabletash/wording-validate-buffer
Browse files Browse the repository at this point in the history
Wording change: Remove arg type test for internal validation algorithm
  • Loading branch information
huningxin authored Jan 18, 2024
2 parents b03b7ba + 6643ce2 commit d706feb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,6 @@ partial interface MLContext {
To <dfn>validate buffer with descriptor</dfn> given |bufferView| and |descriptor|, run the following steps:
</summary>
<div class=algorithm-steps>
1. If |bufferView| is not an {{MLBufferView}}, return false.
1. If |bufferView|'s [=element type=] does not match to |descriptor|.{{MLOperandDescriptor/dataType}} according to [this table](#appendices-mloperanddatatype-arraybufferview-compatibility), return false.
1. If |bufferView|.\[[ByteLength]] is not equal to the [=byte length=] of |descriptor|, return false.
</div>
Expand Down

0 comments on commit d706feb

Please sign in to comment.