onnxruntime/js/web/lib/onnxjs/backends/webgl/ops
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
..
batch-normalization.ts
binary-op.ts
cast.ts
concat-packed.ts
concat.ts
conv-grouped.ts
conv-pack.ts
conv-transpose.ts
conv.ts
depth-to-space.ts
dot-product.ts
flatten.ts
fuse-utils.ts
gather.ts
gemm.ts
im2col-pack.ts
im2col.ts
image-scaler.ts
instance-normalization.ts
lrn.ts
matmul-pack.ts
matmul.ts
pack.ts
packing-utils.ts
pad.ts
pool.ts
reduce.ts
reshape-packed.ts
reshape.ts
resize-packed.ts
shape.ts
slice.ts
softmax.ts
split.ts
squeeze.ts
sum.ts
tile.ts
transpose.ts
uint8-encode.ts
unary-op.ts
unpack.ts
unsqueeze.ts
upsample.ts