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

fix a bug which is triggered by the lack of __class__.op_type #51101

Merged
merged 2 commits into from
Mar 6, 2023

Conversation

Vvsmile
Copy link
Contributor

@Vvsmile Vvsmile commented Mar 2, 2023

PR types

Bug fixes

PR changes

Others

Describe

fix a bug which is triggered by the lack of class.op_type

@paddle-bot
Copy link

paddle-bot bot commented Mar 2, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@@ -2112,6 +2115,7 @@ def check_output_customized(self, checker, custom_place=None):
checker(outs)

def check_output_with_place_customized(self, checker, place):
self.__class__.op_type = self.op_type
Copy link
Contributor

Choose a reason for hiding this comment

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

这里不用加

@@ -1509,6 +1509,8 @@ def check_output_with_place(
if prim_checker.is_only_check_prim():
self.only_prim = True
return
self.__class__.op_type = self.op_type
Copy link
Contributor

Choose a reason for hiding this comment

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

这里也不用加

Copy link
Contributor

@ZzSean ZzSean left a comment

Choose a reason for hiding this comment

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

LGTM

@ZzSean ZzSean merged commit 203a62b into PaddlePaddle:develop Mar 6, 2023
@Vvsmile Vvsmile deleted the fix_tearTest_bug branch March 11, 2024 08:19
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.

2 participants