-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Conversation
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.
Could you add some comments, why we are doing padding before conv
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.
LGTM
Is there a unit test to cover this? |
The CI failed in one of the flaky tests while trying to fetch test files - |
@marcoabreu I see that tutorials test have been added to the CI. How can I find the timeout set for the tutorials job ? |
@marcoabreu the last two CI runs failed on the following tests -
both due to "Connection reset". What is the timeout set for these tests? Could you please take a look. |
Okay it seems to be set in test_tutorials to 7 mins: https://github.com/apache/incubator-mxnet/blob/master/tests/tutorials/test_tutorials.py#L49 |
@piiswrong @eric-haibin-lin is this good to merge ? |
* fix for asymmetric padding * add asymmetric support * lint and code styling and more comments. * change bias to boolean value. * update timeout to 10 min per test.
* fix for asymmetric padding * add asymmetric support * lint and code styling and more comments. * change bias to boolean value. * update timeout to 10 min per test.
Description
Fixes asymmetric padding issue in onnx-mxnet translators. MXNet conv operator supports only symmetric padding, whereas the conv operator in ONNX can have asymmetric padding. We are fixing this discrepancy by sequencing MXNet's 'Pad' operator and MXNet's 'Convolution' operator. Because the 'Pad' operator in MXNet supports asymmetric padding.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Comments