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

Add support for MXNet pad operator, for parameter 'None' in slice operator, 1D Convolution and 1D Deconvolution #3739

Merged
merged 1 commit into from
Sep 20, 2019

Conversation

alexgl-github
Copy link
Contributor

MXNet pad is described at:
https://mxnet.incubator.apache.org/api/python/symbol/symbol.html#mxnet.symbol.pad

Thanks for contributing to TVM! Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers.

@@ -401,13 +401,18 @@ struct UpSamplingAttrs : public tvm::AttrsNode<UpSamplingAttrs> {
struct PadAttrs : public tvm::AttrsNode<PadAttrs> {
double pad_value;
Array<Array<IndexExpr> > pad_width;
std::string pad_mode;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add test cases for different modes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've added tests, please review again

@alexgl-github alexgl-github changed the title Add support for MXNet pad operator. Add support for MXNet pad operator, for parameter 'None' slice operator, 1D Convolution and 1D Deconvolution Aug 21, 2019
@alexgl-github alexgl-github changed the title Add support for MXNet pad operator, for parameter 'None' slice operator, 1D Convolution and 1D Deconvolution Add support for MXNet pad operator, for parameter 'None' in slice operator, 1D Convolution and 1D Deconvolution Aug 21, 2019
@yongwww
Copy link
Member

yongwww commented Aug 21, 2019

@kevinthesun @icemelon9 @zhiics great to get feedback from any of you guys

python/tvm/relay/frontend/common.py Outdated Show resolved Hide resolved
python/tvm/relay/frontend/common.py Outdated Show resolved Hide resolved
@kevinthesun
Copy link
Contributor

@alexgl-github Can you resolve the conflict and take a look at the ci issue?

@alexgl-github
Copy link
Contributor Author

@alexgl-github Can you resolve the conflict and take a look at the ci issue?
done, please review again

@kevinthesun
Copy link
Contributor

@alexgl-github looks like sanity check is still failing.

@alexgl-github
Copy link
Contributor Author

@alexgl-github looks like sanity check is still failing.

@kevinthesun please review again.

@kevinthesun kevinthesun merged commit 719d6d4 into apache:master Sep 20, 2019
@kevinthesun
Copy link
Contributor

Thanks!

anijain2305 added a commit to anijain2305/tvm that referenced this pull request Sep 21, 2019
tqchen pushed a commit that referenced this pull request Sep 23, 2019
wweic pushed a commit to wweic/tvm that referenced this pull request Sep 30, 2019
wweic pushed a commit to wweic/tvm that referenced this pull request Sep 30, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Oct 1, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Oct 1, 2019
@alexgl-github alexgl-github deleted the mxnet-pad2 branch November 13, 2019 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: need update need update based on feedbacks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants