mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
[js] update JavaScript API to support QNN EP options (#23486)
### Description As a pre-requisite of #23468
This commit is contained in:
parent
816e8cb2fb
commit
faee9125fb
1 changed files with 12 additions and 1 deletions
|
|
@ -308,7 +308,18 @@ export declare namespace InferenceSession {
|
|||
|
||||
export interface QnnExecutionProviderOption extends ExecutionProviderOption {
|
||||
readonly name: 'qnn';
|
||||
// TODO add flags
|
||||
/**
|
||||
* Specify a path to the QnnHtp.dll file.
|
||||
*
|
||||
* @default 'QnnHtp.dll'
|
||||
*/
|
||||
backendPath?: string;
|
||||
/**
|
||||
* Specify whether to enable HTP FP16 precision.
|
||||
*
|
||||
* @default true
|
||||
*/
|
||||
enableFp16Precision?: boolean;
|
||||
}
|
||||
export interface CoreMLExecutionProviderOption extends ExecutionProviderOption {
|
||||
readonly name: 'coreml';
|
||||
|
|
|
|||
Loading…
Reference in a new issue