Sunghoon
450524359e
[js/web] WebAssembly profiling ( #8932 )
...
* add p50 in test
* Preallocate WebAssembly worker threads to minimize worker creation time
* WebAssembly profiling
* merge master
* merge with proxy changes
* disable profiling tests from WebAssembly build
* fix e2e test failure
Co-authored-by: Yulong Wang <yulongw@microsoft.com>
2021-09-07 17:18:08 -07:00
Yulong Wang
896f32ec09
[js/web] support string tensor for wasm backend ( #7891 )
...
* [js/web] support string tensor for wasm backend
* disable v9/test_cast_STRING_to_FLOAT: test data is wrong
* add non-string check
* Update session-handler.ts
* Update session-handler.ts
2021-06-03 00:44:50 -07:00
Sunghoon
da5f24bd2d
Support additional session options and run options in WebAssembly ( #7712 )
...
* add all session options and run options in C API except AddInitializer and AddFreeDimensionOverride
* remove unnecessary comment
* change extra session and run options to object notation
* resolve comments
* use an optional chaining for options
* resolve comments
2021-05-17 14:57:19 -07:00
Yulong Wang
97d9bcd644
[js/web] fix bundle for multi-thread, add e2e test and support nodejs ( #7688 )
...
* fix bundle for multi-thread, add e2e test and support nodejs
* add copyright banner
* resolve comments
* add comments for isMultiThreadSupported()
2021-05-14 18:15:38 -07:00
Sunghoon
1ab8a95eb6
Bind existing SessionOptions and RunOptions in Javascript API with WebAssembly ( #7621 )
...
* support session options and run options. use onnxruntime c api.
* fix lint errors
* add an error code on throwing an exception
* resolve comments. change remaining C++ APIs to C API
2021-05-13 10:50:04 -07:00
Yulong Wang
bdefc6c4d8
[js/web] support multi-thread for wasm backend ( #7601 )
2021-05-07 12:12:37 -07:00
Yulong Wang
3600c3e66e
[js/web] integrate latest changes from onnxjs ( #7535 )
...
* [js/web] integrate latest changes from onnxjs
* apply ESLint rules: filename-case and header
* remove filename-case rule for wasm .d.ts
2021-05-03 15:03:25 -07:00
Yulong Wang
7079dfb93d
[wasm] fix and unify webassembly target name ( #7549 )
2021-05-03 10:37:25 -07:00
Yulong Wang
4ebc9c3b5e
[JS] onnxruntime-web ( #7394 )
...
* add web
* add script and test
* fix lint
* add test/data/ops
* add test/data/node/ to gitignore
* modify scripts
* add onnxjs
* fix tests
* fix test-runner
* fix sourcemap
* fix onnxjs profiling
* update test list
* update README
* resolve comments
* set wasm as default backend
* rename package
* update copyright header
* do not use class "Buffer" in browser context
* revise readme
2021-04-27 00:04:25 -07:00