Skip to content

Commit

Permalink
Fix mxnet converter for take
Browse files Browse the repository at this point in the history
  • Loading branch information
icemelon committed Mar 30, 2019
1 parent daf6211 commit 3c3bb67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/relay/frontend/mxnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def _mx_take(inputs, attrs):
if mode == "raise":
raise RuntimeError("take doesn't support raise mode")
axis = attrs.get_int("axis", 0)
return _op.take(inputs[0], inputs[1].astype("int32"), axis, mode.upper())
return _op.take(inputs[0], inputs[1].astype("int32"), axis, mode)


def _mx_reverse(inputs, attrs):
Expand Down

0 comments on commit 3c3bb67

Please sign in to comment.