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/12/13 22:49:39 UTC

[GitHub] [tvm] mbs-octoml commented on a change in pull request #9613: [Relay] Re-run PlanDevices after LowerTE to flow new memory scope constraints.

mbs-octoml commented on a change in pull request #9613:
URL: https://github.com/apache/tvm/pull/9613#discussion_r768182812



##########
File path: include/tvm/relay/expr.h
##########
@@ -234,6 +234,15 @@ class Var : public Expr {
    */
   TVM_DLL Var(Id vid, Type type_annotation, Span span = Span());
 
+  /*!
+   * \brief Return a globally fresh name. Helps with debugging to follow the same
+   * variable between passes and sub-expressions.
+   *
+   * TODO(mbs): Replace with name creation w.r.t. scopes once available as part of
+   * name gen overhaul.
+   */
+  static Var GenSym(Type type_annotation = {}, Span span = {});

Review comment:
       Guessing by the question it needs to be. Done.




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