onnxruntime/js/web/script
Yulong Wang 4712009f8a
[js/web] add target ort.webgpu.min.js (#15780)
### Description
add target ort.webgpu.min.js

WebGPU is experimental feature, so I don't want to put webgpu into the
ort.min.js file. This change adds 2 ways for users to access ort-web
with webgpu:
- using script tag: by URL
`https://cdn.jsdelivr.net/npm/onnxruntime-web@1.15.0/dist/ort.webgpu.min.js`
( this URL is not ready yet )
- using `import()`: use `import { Tensor, InferenceSession } from
'onnxruntime-web/webgpu';` - 'onnxruntime-web/webgpu' instead of
'onnxruntime-web'
2023-05-04 10:05:39 -07:00
..
build.ts [js] remove 'npm bin' (#14943) 2023-03-08 15:03:27 -08:00
generate-operator-md.ts replace 'master' branch ref to 'main' for onnx repo (#12678) 2022-08-30 13:41:42 -07:00
parse-profiler.ts
prepack.ts
pull-prebuilt-wasm-artifacts.ts [js/web] add target ort.webgpu.min.js (#15780) 2023-05-04 10:05:39 -07:00
test-runner-cli-args.ts [js/web] WebGPU backend via JSEP (#14579) 2023-04-24 15:21:18 -07:00
test-runner-cli.ts [js/web] WebGPU backend via JSEP (#14579) 2023-04-24 15:21:18 -07:00