Skip to content

Conversation

@jiahy0825
Copy link
Contributor

@jiahy0825 jiahy0825 commented Dec 19, 2022

PR types

Others

PR changes

Others

Describe

test_static_pe, custom_relu_static_inference in test_custom_relu_op_xpu_setup may randomly fail due to precision error. Hence add atol parameter to relax the restriction.
Other change: polish the implementation of this unit test.

test_static_pecustom_relu_static_inference 由于精度原因会随机挂,因此添加 atol 参数来放宽约束。
其他更改:优化这个单测文件的实现。

@paddle-bot
Copy link

paddle-bot bot commented Dec 19, 2022

你的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.

@jiahy0825 jiahy0825 closed this Dec 27, 2022
@jiahy0825 jiahy0825 reopened this Dec 28, 2022
@jiahy0825 jiahy0825 merged commit 9f5afa6 into PaddlePaddle:develop Dec 30, 2022
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