onnxruntime/js/web/lib/onnxjs/backends/webgl
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
..
ops [js/web] set noUnusedParameters to true and fix a few bugs (#18404) 2023-11-15 09:16:29 -08:00
glsl-array-lib.ts
glsl-coordinate-lib.ts [js/web] set noUnusedParameters to true and fix a few bugs (#18404) 2023-11-15 09:16:29 -08:00
glsl-definitions.ts [js/web] WebGL backend refactor (#8586) 2021-08-12 12:30:49 -07:00
glsl-encoding-lib.ts
glsl-fragcolor-lib.ts
glsl-function-inliner.ts
glsl-preprocessor.ts [js/web] WebGL backend refactor (#8586) 2021-08-12 12:30:49 -07:00
glsl-registered-libs.ts
glsl-shape-utils-lib.ts [js/web] WebGL backend refactor (#8586) 2021-08-12 12:30:49 -07:00
glsl-source.ts
glsl-vec-lib.ts [js/web] WebGL backend refactor (#8586) 2021-08-12 12:30:49 -07:00
inference-handler.ts [js/web] use esbuild to accelerate bundle build (#17745) 2023-10-06 13:37:37 -07:00
op-resolve-rules.ts [js/web] add LRN unpacked kernel for webgl backend (#14459) 2023-02-01 11:51:10 -08:00
program-manager.ts [js] upgrade async@3.2.3 /js/ (#11421) 2022-05-03 23:41:36 -07:00
session-handler.ts [js/web] WebGL backend refactor (#8586) 2021-08-12 12:30:49 -07:00
texture-data-encoder.ts [js/web] set noUnusedParameters to true and fix a few bugs (#18404) 2023-11-15 09:16:29 -08:00
texture-layout-strategy.ts [js/web] set noUnusedParameters to true and fix a few bugs (#18404) 2023-11-15 09:16:29 -08:00
texture-layout.ts [js] upgrade async@3.2.3 /js/ (#11421) 2022-05-03 23:41:36 -07:00
texture-manager.ts [js/web] set noUnusedParameters to true and fix a few bugs (#18404) 2023-11-15 09:16:29 -08:00
types.ts [js/web] WebGL backend refactor (#8586) 2021-08-12 12:30:49 -07:00
utils.ts [js/web] WebGL backend refactor (#8586) 2021-08-12 12:30:49 -07:00
webgl-context-factory.ts [js/web] update webgl context creating (#16436) 2023-06-21 17:10:26 -07:00
webgl-context.ts [js/web] use esbuild to accelerate bundle build (#17745) 2023-10-06 13:37:37 -07:00