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 2020/09/21 17:38:55 UTC

[GitHub] [incubator-tvm] kevinthesun commented on a change in pull request #6504: [Torch] Clean up usage of try ... infer_value() ... except

kevinthesun commented on a change in pull request #6504:
URL: https://github.com/apache/incubator-tvm/pull/6504#discussion_r492234714



##########
File path: python/tvm/relay/frontend/common.py
##########
@@ -563,6 +563,14 @@ def infer_value_simulated(input_val, params):
     return output_value
 
 
+def try_infer_value(val, on_success, on_failure):

Review comment:
       Can we make these callback to be optional, and just return original value of fail?




----------------------------------------------------------------
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:
users@infra.apache.org