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] zeropad2d #5278

Merged
merged 6 commits into from
Jun 23, 2021
Merged

[add] zeropad2d #5278

merged 6 commits into from
Jun 23, 2021

Conversation

zev123456
Copy link
Contributor

@zev123456 zev123456 commented Jun 23, 2021

zeropad2d

def forward(self, x):
_, _, h, w = x.shape

if (
Copy link
Contributor

Choose a reason for hiding this comment

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

这段if else去掉,padding多少跟 hw没关系,之前的几个pad OP错误的if判断已经提PR移除了

@oneflow-ci-bot oneflow-ci-bot self-requested a review June 23, 2021 09:15
@oneflow-ci-bot oneflow-ci-bot merged commit 89ca33c into master Jun 23, 2021
@oneflow-ci-bot oneflow-ci-bot deleted the yzw_zeropad2d branch June 23, 2021 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants