mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
### 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'
24 lines
291 B
Text
24 lines
291 B
Text
/.vscode/ipch/
|
|
|
|
node_modules/
|
|
types/
|
|
dist/
|
|
|
|
tsconfig.tsbuildinfo
|
|
|
|
!lib/build-def.d.ts
|
|
|
|
lib/**/*.js
|
|
lib/**/*.js.map
|
|
test/**/*.js
|
|
test/**/*.js.map
|
|
script/**/*.js
|
|
script/**/*.js.map
|
|
|
|
!/types.d.ts
|
|
|
|
lib/wasm/binding/**/*.wasm
|
|
!lib/wasm/binding/**/*.d.ts
|
|
|
|
test/testdata-config.json
|
|
test/data/node
|