Skip to content

Conversation

@ceci3
Copy link
Contributor

@ceci3 ceci3 commented May 19, 2021

PR types

Bug fixes

PR changes

APIs

Describe

add check_data_format for syncbn

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

)

def forward(self, x):
self._check_data_format(self._data_format)
Copy link
Contributor

Choose a reason for hiding this comment

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

_check_data_format这个方法名体现不出你要对self._data_format做inplace的修改。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

这个函数的作用应该主要是为了检查 data_format

@ceci3 ceci3 merged commit 17c6d39 into PaddlePaddle:develop Jun 1, 2021
@ceci3 ceci3 deleted the fix_syncbn branch June 1, 2021 06:24
ceci3 added a commit to ceci3/Paddle that referenced this pull request Jun 3, 2021
XiaoguangHu01 pushed a commit that referenced this pull request Jun 7, 2021
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.

3 participants