onnxruntime/js/web/lib/onnxjs
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
..
backends [js/web] set noUnusedParameters to true and fix a few bugs (#18404) 2023-11-15 09:16:29 -08:00
ort-schema [js] enable formatter for more file types (#16888) 2023-07-28 15:46:58 -07:00
attribute-with-cache-key.ts
attribute.ts [js/web] upgrade onnx-proto version (#16722) 2023-07-18 16:36:39 -07:00
backend.ts [js/web] WebGPU backend via JSEP (#14579) 2023-04-24 15:21:18 -07:00
execution-plan.ts [js/web] set noUnusedParameters to true and fix a few bugs (#18404) 2023-11-15 09:16:29 -08:00
graph.ts Fix Resize op input check (#16594) 2023-08-09 15:42:30 -07:00
instrument.ts [js/web] set noUnusedParameters to true and fix a few bugs (#18404) 2023-11-15 09:16:29 -08:00
model.ts [js/web] upgrade onnx-proto version (#16722) 2023-07-18 16:36:39 -07:00
operators.ts
opset.ts [js/web] WebGPU backend via JSEP (#14579) 2023-04-24 15:21:18 -07:00
session-handler-inference.ts [js/web/training] runTrainStep implementation (#18006) 2023-11-02 08:32:50 -07:00
session.ts [js/web] use esbuild to accelerate bundle build (#17745) 2023-10-06 13:37:37 -07:00
tensor.ts js/webgpu: argmax,argmin,softmax support (#16882) 2023-08-02 18:16:19 -07:00
util.ts [js/web] set noUnusedParameters to true and fix a few bugs (#18404) 2023-11-15 09:16:29 -08:00