You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "jiangjiajun (via GitHub)" <gi...@apache.org> on 2023/05/05 09:20:17 UTC

[GitHub] [tvm] jiangjiajun commented on a diff in pull request #14748: 【PaddlePaddle Hackathon 4 No.232】add attribute support for assign/conv2d/conv2d_transpose/scale

jiangjiajun commented on code in PR #14748:
URL: https://github.com/apache/tvm/pull/14748#discussion_r1185874873


##########
python/tvm/relay/frontend/paddlepaddle.py:
##########
@@ -1935,6 +1945,7 @@ def convert_scale(g, op, block):
     scale = op.attr("scale")
     bias = op.attr("bias")
     bias_after_scale = op.attr("bias_after_scale")
+    act = op.attr("act")

Review Comment:
   There's no "act" attribute in operator "scale". While we use `paddle.scale(x, act="relu")`, this will generate 2 op, include "scale" and "relu"



-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org