onnxruntime/js/web/lib/wasm/jsep/webgpu/ops
Jiajia Qin 606356d0b1
[js/webgpu] Simplify the Resize shader when noScale is true (#18321)
### Description
For Resize, when `noScale` is true, the shader can become very simple,
which is not related with `attributes.mode` anymore. So we should remove
those parts of shader code for simplification.

This PR can also fix #18311 since the `noScale` are all true in that
model.

However, #18311 also exposes that the Resize implementation for `linear`
mode has bug. It seems that the currently implementation always treat
the input as either 2d or 4d tensor, however, the actual input is 3d
tensor, that's why the shader compilation is failed. We may need to fix
it in a separate PR.
2023-11-07 12:54:20 -08:00
..
3rd-party [JS/Web]Added FusedConv. (#17766) 2023-11-01 15:34:51 -07:00
argminmax.ts [js/webgpu] support using uniform buffer (#17803) 2023-10-10 00:31:12 -07:00
bias-add.ts [js/webgpu] revise uniform support (#17871) 2023-10-11 16:41:46 -07:00
bias-split-gelu.ts [js/webgpu] revise uniform support (#17871) 2023-10-11 16:41:46 -07:00
binary-op.ts [JS/Web] Added Uniforms support to binary ops. (#18260) 2023-11-07 08:41:52 -08:00
common.ts [JS/Web] Added Uniforms support to binary ops. (#18260) 2023-11-07 08:41:52 -08:00
concat.ts [js/webgpu] revise uniform support (#17871) 2023-10-11 16:41:46 -07:00
conv-grouped.ts [JS/Web]Added FusedConv. (#17766) 2023-11-01 15:34:51 -07:00
conv-transpose.ts [js/webgpu] Fix the transpose error when dims > 4D (#18027) 2023-10-23 11:02:19 -07:00
conv.ts [js/webgpu] Fix the transpose error when dims > 4D (#18027) 2023-10-23 11:02:19 -07:00
einsum.ts [js/webgpu] revise uniform support (#17871) 2023-10-11 16:41:46 -07:00
expand.ts [js/webgpu] revise uniform support (#17871) 2023-10-11 16:41:46 -07:00
fuse-utils.ts [JS/Web]Added FusedConv. (#17766) 2023-11-01 15:34:51 -07:00
gather-elements.ts [js/webgpu] revise uniform support (#17871) 2023-10-11 16:41:46 -07:00
gather.ts [js/webgpu] revise uniform support (#17871) 2023-10-11 16:41:46 -07:00
gemm.ts [js/webgpu] revise uniform support (#17871) 2023-10-11 16:41:46 -07:00
instance-norm.ts [js/web] FP16 LayerNorm, InstanceNorm, SkipLayerNorm (#17630) 2023-10-18 10:47:41 -07:00
layer-norm.ts [js/web] FP16 LayerNorm, InstanceNorm, SkipLayerNorm (#17630) 2023-10-18 10:47:41 -07:00
matmul.ts [js/webgpu] support using uniform buffer (#17803) 2023-10-10 00:31:12 -07:00
pad.ts [js/webgpu] revise uniform support (#17871) 2023-10-11 16:41:46 -07:00
pool.ts [JS/Web] Enabled 1d spacial input to GlobalAveragePool (#17973) 2023-10-23 16:02:50 -07:00
range.ts [js/webgpu] revise uniform support (#17871) 2023-10-11 16:41:46 -07:00
reduce-shared.ts [js/web] optimize reduce related operators (#17957) 2023-11-02 12:51:48 -07:00
reduce.ts [js/web] optimize reduce related operators (#17957) 2023-11-02 12:51:48 -07:00
resize.ts [js/webgpu] Simplify the Resize shader when noScale is true (#18321) 2023-11-07 12:54:20 -08:00
skip-layer-norm.ts [js/web] FP16 LayerNorm, InstanceNorm, SkipLayerNorm (#17630) 2023-10-18 10:47:41 -07:00
slice.ts [js/webgpu] revise uniform support (#17871) 2023-10-11 16:41:46 -07:00
softmax.ts [js/webgpu] Optimize softmax by vector (#18153) 2023-10-30 16:05:35 -07:00
split.ts [js/webgpu] revise uniform support (#17871) 2023-10-11 16:41:46 -07:00
tile.ts [js/webgpu] revise uniform support (#17871) 2023-10-11 16:41:46 -07:00
transpose.ts [js/webgpu] Fix the transpose error when dims > 4D (#18027) 2023-10-23 11:02:19 -07:00
unary-op.ts [JS/Web] Added Unifroms support to unary ops. (#18223) 2023-11-03 09:30:54 -07:00
where.ts [js/webgpu] revise uniform support (#17871) 2023-10-11 16:41:46 -07:00