onnxruntime/js/web/test
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
..
data/ops
e2e Added E2E test for Image Tensor API (#14406) 2023-01-27 08:54:27 -08:00
unittests [js] upgrade async@3.2.3 /js/ (#11421) 2022-05-03 23:41:36 -07:00
suite-test-list.jsonc [js/web] add LRN unpacked kernel for webgl backend (#14459) 2023-02-01 11:51:10 -08:00
test-main.ts [js/web] support flag 'optimizedModelFilePath' in session options (#14355) 2023-02-24 15:50:15 -08:00
test-runner.ts [js/web] support flag 'optimizedModelFilePath' in session options (#14355) 2023-02-24 15:50:15 -08:00
test-shared.ts [js/web] do not use nodejs type 'Buffer' in web (#9839) 2021-11-24 14:14:42 -08:00
test-types.ts [js/web] support flag 'optimizedModelFilePath' in session options (#14355) 2023-02-24 15:50:15 -08:00