onnxruntime/js/web/test
Jiajia Qin ccbe264a39
[js/webgpu] Add LeakyRelu activation for fusedConv (#19369)
### Description
This PR 1) adds LeakyRelu activation for fusedConv; 2) makes `vec4<f16>`
value work with `float32` uniforms attributes.

For example:
`clamp(value, vec4<f16>(uniforms.clip_min),
vec4<f16>(uniforms.clip_max)` will throw compilation errors since
`uniforms.clip_min` and `uniforms.clip_min` are `f32` not `f16`. So we
need to change it to `clamp(value, vec4<f16>(f16(uniforms.clip_min)),
vec4<f16>(f16(uniforms.clip_max))`

And above problem was introduced when we make activation attributes as
uniforms instead of constant.

BTW, after adding LeakyRelu, `realesrgan-t256` model can pass.
2024-02-02 09:06:38 -08:00
..
data/ops [js/webgpu] Add LeakyRelu activation for fusedConv (#19369) 2024-02-02 09:06:38 -08:00
e2e [js] enable external data loading for ort-web (#19087) 2024-01-12 19:24:24 -08:00
training/e2e [js/web/training] added end-to-end tests (#18700) 2024-01-12 13:33:33 -08: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
suite-test-list.jsonc [js/webgpu] Fix Tanh explosion (#19201) 2024-01-25 08:25:35 -08:00
test-main.ts [WebNN] Enable npm unit tests (#18486) 2024-01-09 10:10:57 -08:00
test-runner.ts [js/web] support external data in npm test (#19377) 2024-02-02 09:05:57 -08: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] support external data in npm test (#19377) 2024-02-02 09:05:57 -08:00