ScatterND's doc gives wrong result for 3d indice case #6019
Labels
bug
contributions welcome
documentation
Issues related to ONNX documentation
spec clarification
Clarification of the ONNX spec needed
Milestone
Bug Report
Describe the bug
In ScatterND doc , it shows scatternd computation as:
For a 3d indices case like this:
It provides results different from ONNXRuntime.
In the doc's method, indices[idx] gives a numpy array, output[indices[idx]] will not select the correct element. Convert indices[idx] to tuple will fix this.
The text was updated successfully, but these errors were encountered: