lhutton1 commented on a change in pull request #10599:
URL: https://github.com/apache/tvm/pull/10599#discussion_r828313033



##########
File path: python/tvm/relay/backend/contrib/ethosu/util.py
##########
@@ -313,3 +318,37 @@ def __init__(
             encoded_constants,
             base_addresses,
         )
+
+
+def npu_pass(opt_level: int, name: str = ""):

Review comment:
       Sounds good, although I'm a bit hesitant to call it a function pass as 
the pass accepts an IRModule and returns an IRModule. Perhaps we should stick 
with `create_npu_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]


Reply via email to