onnxruntime/js/web/test
Yulong Wang 586f06f5a1
[js/web] set noUnusedParameters to true and fix a few bugs (#18404)
### Description
- set tsconfig "noUnusedParameters" to `true` and fix a few bugs
discovered by typescript.
   how unused parameter is fixed:
- for most code (webgl), add underscore as prefix, which is the standard
ignore pattern for typescript check.
- remove unused parameter from function and modify corresponding
function calls (jsep)
- fix a bug in ArgMinMax: this 2 operators do not have more than one
input(s) so the `createArgMinMaxAttributesFromInputs()` is removed.
- add proxy main.ts into typescript check and fix a bug in parameter
passing
   - fixed `run()` function call and add typecheck fix (hack)
2023-11-15 09:16:29 -08:00
..
data/ops [js/webgpu] Support uniform for softmax (#18345) 2023-11-09 11:19:23 -08:00
e2e [js/web] enable webgpu in browser unit test (#16310) 2023-08-08 11:45:04 -07:00
unittests [js/web] set noUnusedParameters to true and fix a few bugs (#18404) 2023-11-15 09:16:29 -08:00
op-test-schema.json [js/web] allow optional input/output in operator test (#17184) 2023-08-16 11:50:11 -07:00
suite-test-list.jsonc [js/webgpu] Support where (#17544) 2023-10-03 14:28:21 -07:00
test-main.ts [js/web] use esbuild to accelerate bundle build (#17745) 2023-10-06 13:37:37 -07:00
test-runner.ts Update XNNPACK to latest version (#18038) 2023-11-03 09:04:28 -07:00
test-shared.ts [js/web] use esbuild to accelerate bundle build (#17745) 2023-10-06 13:37:37 -07:00
test-types.ts [js/web] use esbuild to accelerate bundle build (#17745) 2023-10-06 13:37:37 -07:00