onnxruntime/js/web/lib/wasm
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
..
binding [js/web] support flag 'optimizedModelFilePath' in session options (#14355) 2023-02-24 15:50:15 -08:00
proxy-worker fix to reduce peak memory usage in ort-web (#13323) 2022-11-14 12:18:02 -08:00
options-utils.ts
proxy-messages.ts fix to reduce peak memory usage in ort-web (#13323) 2022-11-14 12:18:02 -08:00
proxy-wrapper.ts [web] utility functions for tensor<->image conversion in ORT web (#13603) 2023-01-12 09:05:18 -08:00
run-options.ts
session-handler.ts fix to reduce peak memory usage in ort-web (#13323) 2022-11-14 12:18:02 -08:00
session-options.ts [js/web] support flag 'optimizedModelFilePath' in session options (#14355) 2023-02-24 15:50:15 -08:00
string-utils.ts
wasm-core-impl.ts fix to reduce peak memory usage in ort-web (#13323) 2022-11-14 12:18:02 -08:00
wasm-factory.ts [js] upgrade async@3.2.3 /js/ (#11421) 2022-05-03 23:41:36 -07:00