jroesch commented on a change in pull request #8788:
URL: https://github.com/apache/tvm/pull/8788#discussion_r721646717
##########
File path: include/tvm/relay/transform.h
##########
@@ -165,11 +165,12 @@ TVM_DLL Pass ToANormalForm();
/*!
* \brief ToANormalForm but on incomplete graph.
*
+ * \param maybe_mod optional module holding definitions for global vars in \p
expr
* \param expr the graph.
*
* \return The transformed program.
*/
-TVM_DLL Expr ToANormalForm(const Expr& expr);
+TVM_DLL Expr ToANormalForm(const Optional<IRModule>& maybe_mod, const Expr&
expr);
Review comment:
We should probably change this to be a real pass?
--
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]