onnxruntime
ee603ee3 - [WebNN EP] Fixed WebNN constant operand is detached issue (#20229)

Commit
1 year ago
[WebNN EP] Fixed WebNN constant operand is detached issue (#20229) Wasm allows growing the memory size, this will cause all array buffers reallocation. WebNN EP passes a wasm view to a WebNN constant directly which would lead to the WebNN constant be treated as detached buffers in JS side. Simply create a copy for WebNN constant to fix it.
Author
Parents
Loading