masahi commented on a change in pull request #7441:
URL: https://github.com/apache/tvm/pull/7441#discussion_r581457161



##########
File path: python/tvm/relay/frontend/pytorch.py
##########
@@ -2164,6 +2164,24 @@ def is_floating_point(self, inputs, input_types):
         is_float = input_type in ["float32", "float64", "float16", "bfloat16"]
         return _expr.const(is_float)
 
+    def unique(self, inputs, input_types):
+        assert len(inputs) == 4
+        [data, is_sorted, return_inverse, return_counts] = inputs

Review comment:
       Raise an error if `return_inverse` is True, since we don't support it




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


Reply via email to