onnxruntime/js/web/lib
Yulong Wang d9b9c5a537
[js/webgpu] support using uniform buffer (#17803)
### Description
support using uniform buffer.

This PR allows to use uniform buffer in shader program, so that some
runtime information (eg. input/output shape) is no longer need to be
hardcoded into shader code.

There are 2 commits in this PR:
-
[667f31c](667f31c83d):
framework changes to support uniform buffer, as well as updates in
program manager, gpu data manager and indices helper.
-
[09e1d2a](09e1d2ad1d):
an example change for operator `Transpose` to use input's rank-only
instead of dims as shader key. With this change, model mobilenetv2-12
shader compile times dropped from 71 to 52.
2023-10-10 00:31:12 -07:00
..
onnxjs [js/web] use esbuild to accelerate bundle build (#17745) 2023-10-06 13:37:37 -07:00
wasm [js/webgpu] support using uniform buffer (#17803) 2023-10-10 00:31:12 -07:00
backend-onnxjs.ts Add training interfaces to js/common (#17333) 2023-09-29 19:05:10 -07:00
backend-wasm.ts [js/web] use esbuild to accelerate bundle build (#17745) 2023-10-06 13:37:37 -07:00
build-def.d.ts [js/web] use esbuild to accelerate bundle build (#17745) 2023-10-06 13:37:37 -07:00
index.ts [js/api] introducing IO binding for tensor (#16452) 2023-08-29 12:58:26 -07:00
version.ts Bump Up Version to 1.17.0 (#17587) 2023-09-20 11:02:58 +08:00