masahi commented on code in PR #15772:
URL: https://github.com/apache/tvm/pull/15772#discussion_r1329601487


##########
python/tvm/relax/transform/transform.py:
##########
@@ -1466,3 +1466,16 @@ def create_dataflowblock_pass(pass_arg):
     if pass_func:
         return create_dataflowblock_pass(pass_func)
     return create_dataflowblock_pass
+
+
+def QnnCanonicalize() -> tvm.ir.transform.Pass:
+    """Group one or multiple composite functions created by FuseOpsByPattern 
into a new function.
+    The new function will be annotated with "Codegen" and "global_symbol" 
attributes, and it
+    is intented to be offloaded to an external backend.

Review Comment:
   Needs doc update



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

Reply via email to