mbrookhart commented on a change in pull request #5627:
URL: https://github.com/apache/incubator-tvm/pull/5627#discussion_r428256923
##########
File path: python/tvm/relay/dataflow_pattern/__init__.py
##########
@@ -112,21 +112,23 @@ def match(self, expr: Expr) -> bool:
"""
return match(self, expr)
- def partition(self, expr: Expr) -> bool:
+ def partition(self, expr: Expr, attrs=None) -> Expr:
"""
Parition the expression into functions defined by this pattern
Parameters
----------
expr : tvm.relay.Expr
The expression to match.
+ attrs : dict[str->Object]
Review comment:
Changed
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]