Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebNN: Check whether detached for each ArrayBufferView
For input and output `NamedArrayBufferViews` passing to `MLContext.compute()`, it needs to check whether each `ArrayBufferView` is detached or not, because transferring an `ArrayBuffer` would impact all `ArrayBufferView`s that share the same `ArrayBuffer`. Bug: 332002364 Change-Id: I81c5d287ba8f54fd3b699e431ba12c7cf138557f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5409549 Reviewed-by: Reilly Grant <[email protected]> Reviewed-by: Austin Sullivan <[email protected]> Commit-Queue: ningxin hu <[email protected]> Cr-Commit-Position: refs/heads/main@{#1282875}
- Loading branch information