onnxruntime
3be6eb53 - [JS/Web] Fixed the output indexing in the shader code when the output is 1-dim. (#16508)

Commit
2 years ago
[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. -->
Parents
Loading