XG-zheng commented on code in PR #14172:
URL: https://github.com/apache/tvm/pull/14172#discussion_r1132438349


##########
python/tvm/relay/frontend/paddlepaddle.py:
##########
@@ -514,6 +582,27 @@ def convert_expand_as(g, op, block):
     g.add_node(op.output("Out")[0], out)
 
 
+def convert_eye(g, op, block):
+    """Operator converter for eye."""
+
+    num_rows = op.attr("num_rows")
+    num_columns = op.attr("num_columns")

Review Comment:
   Refer to the code 
https://github.com/PaddlePaddle/Paddle/blob/release/2.4/python/paddle/tensor/creation.py#L808,
 num_columns should be a non-negative int



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