onnxruntime/js/common/lib
Jon Campbell 768c79317c
Enable QNN HTP support for Node (#20576)
### Description
Add support for using Onnx Runtime with Node

### Motivation and Context
Onnx Runtime supports the QNN HTP, but does not support it for Node.js.
This adds baseline support for the Onnx Runtime to be used with Node.

Note it does not update the node packages that are distributed
officially. This simply patches the onnxruntime.dll to allow 'qnn' to be
used as an execution provider.

Testing was done using the existing onnxruntime-node package. The
`onnxruntime.dll` and `onnxruntime_binding.node` were swapped into
`node_modules\onnxruntime-node\bin\napi-v3\win32\arm64` with the newly
built version, then the various QNN dlls and .so files were placed next
to the onnxruntime.dll. Testing was performed on a variety of models and
applications, but the easiest test is to modify the [node quickstart
example](https://github.com/microsoft/onnxruntime-inference-examples/tree/main/js/quick-start_onnxruntime-node).
2024-05-09 13:11:07 -07:00
..
backend-impl.ts [js/web] rewrite backend resolve to allow multiple EPs (#19735) 2024-03-15 11:47:45 -07:00
backend.ts [js/common] fix typedoc warnings (#19933) 2024-03-15 19:01:50 -07:00
env-impl.ts [js/common] allow import onnxruntime-common as ESM and CJS (#15772) 2023-06-12 12:05:11 -07:00
env.ts [js/webgpu] allow setting env.webgpu.adapter (#19940) 2024-03-19 12:55:00 -07:00
index.ts [js/common] fix typedoc warnings (#19933) 2024-03-15 19:01:50 -07:00
inference-session-impl.ts [js/web] rewrite backend resolve to allow multiple EPs (#19735) 2024-03-15 11:47:45 -07:00
inference-session.ts Enable QNN HTP support for Node (#20576) 2024-05-09 13:11:07 -07:00
onnx-model.ts [js] enable external data loading for ort-web (#19087) 2024-01-12 19:24:24 -08:00
onnx-value.ts [js/common] fix typedoc warnings (#19933) 2024-03-15 19:01:50 -07:00
tensor-conversion-impl.ts [js] using OffscreenCanvas when DOM is not available (#19033) 2024-01-12 13:54:05 -08:00
tensor-conversion.ts [js/common] allow import onnxruntime-common as ESM and CJS (#15772) 2023-06-12 12:05:11 -07:00
tensor-factory-impl.ts [js] using OffscreenCanvas when DOM is not available (#19033) 2024-01-12 13:54:05 -08:00
tensor-factory.ts [js/common] fix typedoc warnings (#19933) 2024-03-15 19:01:50 -07:00
tensor-impl-type-mapping.ts [js] changes to allow Float16Array if any polyfill is available (#19305) 2024-02-21 00:31:06 -08:00
tensor-impl.ts [js] changes to allow Float16Array if any polyfill is available (#19305) 2024-02-21 00:31:06 -08:00
tensor-utils-impl.ts [js/api] introducing IO binding for tensor (#16452) 2023-08-29 12:58:26 -07:00
tensor-utils.ts [js/common] allow import onnxruntime-common as ESM and CJS (#15772) 2023-06-12 12:05:11 -07:00
tensor.ts [js/common] fix typedoc warnings (#19933) 2024-03-15 19:01:50 -07:00
trace.ts [js/common] fix typedoc warnings (#19933) 2024-03-15 19:01:50 -07:00
training-session-impl.ts [js/web] rewrite backend resolve to allow multiple EPs (#19735) 2024-03-15 11:47:45 -07:00
training-session.ts [js/common] fix typedoc warnings (#19933) 2024-03-15 19:01:50 -07:00
version.ts Bump up version in main from 1.18.0 to 1.19.0 (#20489) 2024-04-29 20:21:41 -07:00