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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]