masahi commented on a change in pull request #6160:
URL: https://github.com/apache/incubator-tvm/pull/6160#discussion_r466036755
##########
File path: python/tvm/relay/frontend/onnx.py
##########
@@ -530,10 +530,11 @@ class Mod(OnnxOpConverter):
@classmethod
def _impl_v1(cls, inputs, attr, params):
assert len(inputs) == 2, "Mod op take 2 inputs, {}
given".format(len(inputs))
- if attr['fmod'] == 1:
+ if attr['fmod'] == 0:
Review comment:
Can we add a comment here to avoid confusion?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]