-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[PIR] B-1 Adapt div test_errors #61112
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
@@ -506,16 +508,11 @@ def test_shape_with_batch_sizes(self): | |||
|
|||
|
|||
class TestDivideOp(unittest.TestCase): | |||
@test_with_pir_api |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pir下不需要test_name了,这个测试case就不用test_with_pir_api装饰了吧。这里直接把原来pir的测试代码删掉吧~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -492,7 +493,8 @@ class TestElementwiseDivBroadcast(unittest.TestCase): | |||
@test_with_pir_api | |||
def test_shape_with_batch_sizes(self): | |||
paddle.enable_static() | |||
with base.program_guard(base.Program()): | |||
main_program = base.Program() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
main_program = base.Program() | |
main_program = paddle.static.Program() |
@@ -492,7 +493,8 @@ class TestElementwiseDivBroadcast(unittest.TestCase): | |||
@test_with_pir_api | |||
def test_shape_with_batch_sizes(self): | |||
paddle.enable_static() | |||
with base.program_guard(base.Program()): | |||
main_program = base.Program() | |||
with base.program_guard(main_program): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with base.program_guard(main_program): | |
with paddle.static.program_guard(main_program): |
PR types
Others
PR changes
Others
Description
相关链接: