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 2019/11/11 21:50:10 UTC
[GitHub] [incubator-tvm] jroesch commented on a change in pull request
#4241: [Dynamic Shape] Add Graph Dispatcher
jroesch commented on a change in pull request #4241: [Dynamic Shape] Add Graph Dispatcher
URL: https://github.com/apache/incubator-tvm/pull/4241#discussion_r344925402
##########
File path: python/tvm/relay/transform.py
##########
@@ -974,3 +974,40 @@ def visit_var(self, var):
else:
return var
return ChangeBatchMutator().visit(func)
+
+def dispatch_global_func(mod, func_name, input_shape, dispatch_func):
Review comment:
Maybe a more descriptive name since this mutates the module, i.e `register_dispatch` or `add_dispatch_func`.
----------------------------------------------------------------
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
With regards,
Apache Git Services