You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/06/01 18:11:21 UTC
[GitHub] [tvm] AndrewZhaoLuo commented on a diff in pull request #11446: [Onnx] Round operator
AndrewZhaoLuo commented on code in PR #11446:
URL: https://github.com/apache/tvm/pull/11446#discussion_r887160056
##########
python/tvm/relay/frontend/onnx.py:
##########
@@ -4978,10 +4978,30 @@ def _impl_v1(cls, inputs, attr, params):
return _expr.TupleWrapper(_expr.Tuple(result), len(result))
+class Round(OnnxOpConverter):
+ """Operator converter for round op."""
+
+ @classmethod
+ def _impl_v11(cls, inputs, attr, params):
+ # See the tutorial for full implementation details:
+ # https://www.youtube.com/watch?v=fZvNG-oKK5Q&list=PL_4zDggB-DBpynCEnC9hV-1euZrP3xDRK&index=4
Review Comment:
I personally think the code is simple enough where the implementation details are self-documenting
--
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.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org