Skip to content

Fix conv non zero padding being applied in wrong dim#37881

Closed
ssnl wants to merge 2 commits intopytorch:masterfrom
ssnl:convpadorder
Closed

Fix conv non zero padding being applied in wrong dim#37881
ssnl wants to merge 2 commits intopytorch:masterfrom
ssnl:convpadorder

Conversation

@ssnl
Copy link
Copy Markdown
Collaborator

@ssnl ssnl commented May 5, 2020

Turns out F.pad takes in dims in reverse order. Fixes #37844

@dr-ci
Copy link
Copy Markdown

dr-ci Bot commented May 5, 2020

💊 Build failures summary and remediations

As of commit cd8f562 (more details on the Dr. CI page):


  • 1/1 failures possibly* introduced in this PR
    • 1/1 non-CircleCI failure(s)

Extra GitHub checks: 1 failed


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker.

See how this bot performed.

This comment has been revised 15 times.

@ssnl ssnl force-pushed the convpadorder branch 2 times, most recently from 8908d28 to 1407d24 Compare May 5, 2020 22:00
@mruberry mruberry added triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module module: convolution Problems related to convolutions (THNN, THCUNN, CuDNN) labels May 5, 2020
@mruberry mruberry requested a review from ngimel May 5, 2020 22:10
@ssnl ssnl force-pushed the convpadorder branch 2 times, most recently from 4c8a59d to f853dab Compare May 6, 2020 14:54
Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@soumith is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@soumith soumith added this to the 1.5.1 milestone May 13, 2020
@ssnl ssnl deleted the convpadorder branch May 14, 2020 19:22
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@soumith merged this pull request in 5f2a274.

gchanan pushed a commit to gchanan/pytorch that referenced this pull request May 15, 2020
Summary:
Turns out F.pad takes in dims in reverse order. Fixes pytorch#37844
Pull Request resolved: pytorch#37881

Differential Revision: D21554011

Pulled By: soumith

fbshipit-source-id: a85a7f6db9f981d915728965903c5c57b6617c93
gchanan pushed a commit that referenced this pull request May 18, 2020
Summary:
Turns out F.pad takes in dims in reverse order. Fixes #37844
Pull Request resolved: #37881

Differential Revision: D21554011

Pulled By: soumith

fbshipit-source-id: a85a7f6db9f981d915728965903c5c57b6617c93
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
Turns out F.pad takes in dims in reverse order. Fixes pytorch#37844
Pull Request resolved: pytorch#37881

Differential Revision: D21554011

Pulled By: soumith

fbshipit-source-id: a85a7f6db9f981d915728965903c5c57b6617c93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: convolution Problems related to convolutions (THNN, THCUNN, CuDNN) open source triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Circular padding in Conv2d applies padding across the wrong dimension (regression from 1.4)

5 participants