You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "psrivas2 (via GitHub)" <gi...@apache.org> on 2023/02/28 16:44:54 UTC
[GitHub] [tvm] psrivas2 commented on a diff in pull request #14146: [Unity][Pass] Enhance constant folding to fold relax ops by evaluating them.
psrivas2 commented on code in PR #14146:
URL: https://github.com/apache/tvm/pull/14146#discussion_r1120394983
##########
python/tvm/relax/transform/legalize_ops/common.py:
##########
@@ -90,7 +90,7 @@ def _call_topi_without_attr(te_func: TEFunc, primfunc_name: Optional[str] = None
_LEGALIZE_ATTR_NAME = "FLegalize"
-def register_legalize(op_name: str, legal_func: LegalizeFunc = None):
+def register_legalize(op_name: str, legal_func: LegalizeFunc = None, level: int = 10):
Review Comment:
I introduced that change for testing purpose. reverted it.
--
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