Skip to content

Commit

Permalink
[ONNX] Fix bug in scatter_elements (apache#15017)
Browse files Browse the repository at this point in the history
fix bug in scatter_elements

Co-authored-by: Valery Chernov <valery.chernov@deelvin.com>
  • Loading branch information
2 people authored and junrushao committed Jun 22, 2023
1 parent 06875d3 commit d4bfdfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/relay/frontend/onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -2866,7 +2866,7 @@ def _args_check(cls, inputs, attr, red_valids=None):

@classmethod
def _impl_v11(cls, inputs, attr, params):
axis = cls._args_check(inputs, attr)
axis = cls._args_check(inputs, attr)[0]

return _op.scatter_elements(inputs[0], inputs[1], inputs[2], axis, "update")

Expand Down

0 comments on commit d4bfdfd

Please sign in to comment.