onnxruntime/js/web/script
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
..
build.ts [js/web] fix lint error when run without ort-web TS types (#10429) 2022-02-17 22:34:38 -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 [JS/Web] WebGL Profiling Tool (#7724) 2021-05-18 06:31:00 -07:00
prepack.ts [js/web] fix pacakge metadata of onnxruntime-web (#7543) 2021-05-02 13:26:07 -07:00
pull-prebuilt-wasm-artifacts.ts [js/web] update branch name for pull:wasm (#12548) 2022-08-12 15:46:36 -07:00
test-runner-cli-args.ts [js/web] support flag 'optimizedModelFilePath' in session options (#14355) 2023-02-24 15:50:15 -08:00
test-runner-cli.ts [js/web] support flag 'optimizedModelFilePath' in session options (#14355) 2023-02-24 15:50:15 -08:00