codeislife99 commented on a change in pull request #7441:
URL: https://github.com/apache/tvm/pull/7441#discussion_r574220931
##########
File path: python/tvm/relay/op/strategy/generic.py
##########
@@ -1395,3 +1395,28 @@ def cumsum_strategy(attrs, inputs, out_type, target):
name="cumsum.generic",
)
return strategy
+
+
+def wrap_compute_unique(topi_compute):
+ """Wrap unique topi compute"""
+
+ def _compute_unique(attrs, inputs, _):
+ return topi_compute(inputs[0])
Review comment:
Any reason the shape func is defined but not being used here?
----------------------------------------------------------------
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]