Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【PaddlePaddle Hackathon 4 No.232】add attribute support for assign/conv2d/conv2d_transpose/scale #14748

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

siriuslay
Copy link

add "output" attributes for assign op.
add "data_format" attribute for conv2d and conv2d_transpose op.
add "act" attribute for scale op.

add "output" attributes for assign op.
add "data_format" attribute for conv2d and conv2d_transpose op.
add "act" attribute for scale op.
@tvm-bot
Copy link
Collaborator

tvm-bot commented May 1, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

  • No users to auto-tag found, no teams are specified in PR title See #10317 for details

Generated by tvm-bot

@siriuslay siriuslay changed the title Update paddlepaddle.py 【PaddlePaddle Hackathon 4 No.232】add attribute support for assign/conv2d/conv2d_transpose/scale May 1, 2023
Copy link
Contributor

@jiangjiajun jiangjiajun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add test code for this pull request

@@ -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")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no "act" attribute in operator "scale". While we using paddle.scale(x, act="relu"), this will generate 2 operators, include "scale" and "relu"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants