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 2021/11/15 22:12:17 UTC

[GitHub] [tvm] mbrookhart commented on a change in pull request #9512: [Onnx] [EZ] Fix reshape bug with passing both scale and size

mbrookhart commented on a change in pull request #9512:
URL: https://github.com/apache/tvm/pull/9512#discussion_r749719996



##########
File path: python/tvm/relay/frontend/onnx.py
##########
@@ -2639,8 +2639,12 @@ def _impl_v11(cls, inputs, attr, params):
     def _impl_v13(cls, inputs, attr, params):
         scale = inputs[2]
         size = inputs[3]
+        scale_type = infer_type(scale)

Review comment:
       This will crash if scale is None?




-- 
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