You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "masahi (via GitHub)" <gi...@apache.org> on 2023/09/19 05:57:11 UTC

[GitHub] [tvm] masahi commented on a diff in pull request #15772: [Unity][QNN] Add QNN quantize/dequantize ops

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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org