onnxruntime/js/web/lib/wasm/jsep
satyajandhyala 3be6eb53c8
[JS/Web] Fixed the output indexing in the shader code when the output is 1-dim. (#16508)
### Description
Modified indexing into outputIndices in the shader code. When the output
is 1-dim the outputIndices is not a vector and indexing results in
error.



### Motivation and Context
Fix the problem in the Reduce Ops implementation in WebGPU.
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
2023-06-30 09:42:38 -07:00
..
webgpu [JS/Web] Fixed the output indexing in the shader code when the output is 1-dim. (#16508) 2023-06-30 09:42:38 -07:00
backend-webgpu.ts [js/webgpu] fix RangeError in buffer download (#16165) 2023-05-30 15:04:50 -07:00
init.ts [js/web] Added Reduce operators support (#16122) 2023-06-12 07:46:27 -07:00
log.ts [js/webgpu] support proxy for webgpu (#15851) 2023-05-15 16:23:13 -07:00
tensor.ts [js/web] Added Reduce operators support (#16122) 2023-06-12 07:46:27 -07:00
util.ts [js/webgpu] following up for JSEP/WebGPU code cleanup (#15666) 2023-04-25 21:20:03 -07:00