onnxruntime/js/web/lib/wasm
Enrico Galli 4c3c809bdb
[js/webnn] Enable user-supplied MLContext (#20600)
### Description
This PR enables the API added in #20816 as well as moving context
creation to JS.

### Motivation and Context
In order to enable I/O Binding with the upcoming
[MLBuffer](https://github.com/webmachinelearning/webnn/issues/542) API
in the WebNN specification, we need to share the same `MLContext` across
multiple sessions. This is because `MLBuffer`s are restricted to the
`MLContext` where they were created. This PR enables developers to use
the same `MLContext` across multiple sessions.
2024-07-08 10:19:39 -07:00
..
jsep [js/webnn] Enable user-supplied MLContext (#20600) 2024-07-08 10:19:39 -07:00
proxy-worker [js/web] optimize module export and deployment (#20165) 2024-05-20 09:51:16 -07:00
proxy-messages.ts [js/web] revise backend registration (#18715) 2023-12-20 14:45:55 -08:00
proxy-wrapper.ts [js/web] optimize module export and deployment (#20165) 2024-05-20 09:51:16 -07:00
run-options.ts
session-handler-inference.ts [js/web] optimize module export and deployment (#20165) 2024-05-20 09:51:16 -07:00
session-handler-training.ts [js/web] revise backend registration (#18715) 2023-12-20 14:45:55 -08:00
session-options.ts [js/webnn] Enable user-supplied MLContext (#20600) 2024-07-08 10:19:39 -07:00
wasm-common.ts [js] changes to allow Float16Array if any polyfill is available (#19305) 2024-02-21 00:31:06 -08:00
wasm-core-impl.ts [js/webnn] Enable user-supplied MLContext (#20600) 2024-07-08 10:19:39 -07:00
wasm-factory.ts [js/web] skip default locateFile() when dynamic import is disabled (#21073) 2024-06-18 12:21:45 -07:00
wasm-training-core-impl.ts [js/web] revise backend registration (#18715) 2023-12-20 14:45:55 -08:00
wasm-types.ts [js/webnn] Enable user-supplied MLContext (#20600) 2024-07-08 10:19:39 -07:00
wasm-utils-env.ts [js/web] optimize module export and deployment (#20165) 2024-05-20 09:51:16 -07:00
wasm-utils-import.ts [js/web] allow build target for non dynamic import (#20898) 2024-06-03 12:33:37 -07:00
wasm-utils-load-file.ts [js/web] optimize module export and deployment (#20165) 2024-05-20 09:51:16 -07:00
wasm-utils.ts