onnxruntime/js/web/lib/wasm/jsep
Xu Xing 92a8407b39
[js/webgpu] Remove unnecessary initialization of var (#21312)
This var has been initialized to 0 in tint, so no need extra loop to do
it again:
```
  float tint_symbol_52[1][4] = (float[1][4])0;
  {
    for(int tint_symbol_53 = 0; (tint_symbol_53 < 1); tint_symbol_53 = (tint_symbol_53 + 1)) {
      {
        for(int tint_symbol_54 = 0; (tint_symbol_54 < 4); tint_symbol_54 = (tint_symbol_54 + 1)) {
          tint_symbol_52[min(uint(tint_symbol_53), 0u)][min(uint(tint_symbol_54), 3u)] = 0.0f;
        }
      }
    }
  }
```
### Description
<!-- Describe your changes. -->



### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
2024-07-12 12:34:34 -07:00
..
webgpu [js/webgpu] Remove unnecessary initialization of var (#21312) 2024-07-12 12:34:34 -07:00
webnn [js/webnn] Enable user-supplied MLContext (#20600) 2024-07-08 10:19:39 -07:00
backend-webgpu.ts [js/webgpu] Prefer adapter.info to adapter.requestAdapterInfo (#21065) 2024-06-18 12:02:38 -07:00
init.ts [js/web] optimize module export and deployment (#20165) 2024-05-20 09:51:16 -07:00
log.ts [js/webgpu] support proxy for webgpu (#15851) 2023-05-15 16:23:13 -07:00
tensor-view.ts [js/web] revise TensorView (#17473) 2023-09-14 21:14:44 -07:00
util.ts [js/webgpu] allows a ProgramInfo's RunData to use zero sized output (#19614) 2024-02-23 12:52:47 -08:00