-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add conv_transpose and sigmoid op #13
Add conv_transpose and sigmoid op #13
Conversation
class Conv2DTranspose2(nn.Layer): | ||
def __init__(self): | ||
super(Conv2DTranspose2, self).__init__() | ||
self.conv_transpose = nn.Conv2DTranspose( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
单测没加入padding为4个元组的情况
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
@tvm.testing.uses_gpu | ||
def test_forward_conv_transpose(): | ||
# Note we do not test with groups > 1 because that is not supported | ||
# in tvm for conv transpose operations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TVM不支持groups>1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
对的,在PyTorch的单测中也有指出这个
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果groups大于1的时候会怎样
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing to TVM! Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.
Do follow Contributes
1、Add Conv2DTranspose and Sigmoid op
2、Add test cases