onnxruntime/js/common/lib
Yulong Wang a631ed77c0
[js/web] support flag 'optimizedModelFilePath' in session options (#14355)
### Description
* Support flag 'optimizedModelFilePath' in session options.

In Node.js, the model will be saved into filesystem just like its
behaviour on native platforms.

In browser, the new model is not saved to filesystem. the file path is
ignored. Instead, a new pop-up window will be launched in browser and
user can 'save' the file as onnx model.

* Add corresponding commandline args for the following session option
flags:
    - optimizedModelFilePath
    - graphOptimizationLevel
2023-02-24 15:50:15 -08:00
..
backend-impl.ts [js/web] add 'xnnpack' to EP list (#12723) 2022-10-03 10:38:45 -07:00
backend.ts [js/api] add typedoc and revise comments (#9077) 2021-09-20 17:54:46 -07:00
env-impl.ts
env.ts [js/api] add typedoc and revise comments (#9077) 2021-09-20 17:54:46 -07:00
index.ts [js/api] add typedoc and revise comments (#9077) 2021-09-20 17:54:46 -07:00
inference-session-impl.ts
inference-session.ts [js/web] support flag 'optimizedModelFilePath' in session options (#14355) 2023-02-24 15:50:15 -08:00
onnx-value.ts
tensor-impl.ts Added E2E test for Image Tensor API (#14406) 2023-01-27 08:54:27 -08:00
tensor-utils.ts [web] utility functions for tensor<->image conversion in ORT web (#13603) 2023-01-12 09:05:18 -08:00
tensor.ts [web] utility functions for tensor<->image conversion in ORT web (#13603) 2023-01-12 09:05:18 -08:00