onnxruntime/js/web/lib
Enrico Galli 1cb5ceedf3
[WebNN EP] Fix issues with MLTensor caching (#22701)
This PR fixes a bug that occurs when searching for compatible `MLTensor`
in the cache. We were missing checking the number of dimensions in the
shape. This would mean that a cached buffer of shape `[1]` could match
for `[1, 1, 256, 256]`.

This PR also adds better handling when attempting to force an `MLTensor`
to a different shape.
2024-11-06 09:17:11 -08:00
..
onnxjs
wasm [WebNN EP] Fix issues with MLTensor caching (#22701) 2024-11-06 09:17:11 -08:00
backend-onnxjs.ts
backend-wasm.ts
build-def.d.ts
index.ts
version.ts