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

Validate restriction of output padding in convTranspose2d #631

Merged

Conversation

inexorabletash
Copy link
Member

@inexorabletash inexorabletash commented Apr 2, 2024

When outputShapes is not specified, the output padding must be smaller than the stride along the same dimension.

This matches the Chromium prototype implementation.

Fixes #630


Preview | Diff

When outputShapes is not specified, the output padding must be smaller
than the stride along the same dimension.

This matches the Chromium prototype implementation.

Fixes webmachinelearning#630
@inexorabletash
Copy link
Member Author

@mei1127 can you take a look?

Copy link
Contributor

@huningxin huningxin left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@inexorabletash inexorabletash requested a review from fdwr April 3, 2024 19:49
@inexorabletash
Copy link
Member Author

@fdwr - can you review and merge if it looks good? Thanks!

Copy link
Collaborator

@fdwr fdwr left a comment

Choose a reason for hiding this comment

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

👍

@fdwr fdwr merged commit 05b15b1 into webmachinelearning:main Apr 16, 2024
2 checks passed
github-actions bot added a commit that referenced this pull request Apr 16, 2024
SHA: 05b15b1
Reason: push, by fdwr

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@inexorabletash inexorabletash deleted the bugfix-validate-ct2d-padding branch April 16, 2024 15:56
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.

Need to add the value restriction of output padding in convTranspose2d
3 participants