-
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
greater_equal API for fp16 #51098
greater_equal API for fp16 #51098
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
exe = fluid.Executor(place) | ||
(res,) = exe.run(fetch_list=[out]) | ||
self.assertEqual((res == np.array([True, True])).all(), True) | ||
|
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.
目前不推荐使用fluid下的API,建议:
fluid.program_guard -> paddle.static.program_guard
fluid.Executor -> paddle.static.Executor
fluid.Program() -> paddle.static.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.
好的,已经改了
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.
代码风格也改好了,请问CI-Static-Check测试是需要管理员处理才能通过嘛
关注下PR-CI-Codestyle-Check的提示,修改代码风格 |
点击上面的黄色的块块,签署一下贡献者协议~这样才能通过CI检查 |
请参考https://www.paddlepaddle.org.cn/documentation/docs/zh/dev_guides/code_contributing_path_cn.html 或者在aistudio搜索教程,安装pre-commit以自动修改你的代码通过CI-codestyle检查~ 直接参考PR-CI-Codestyle-Check旁边Details页面中的提示修改也是可以的~ |
CI-Static-Check测试是需要管理员处理才能通过嘛 |
@luotao1 |
hi, @Taylor-Layrose
|
中文文档使用如下 PR: |
@luotao1 中文文档提交pr PaddlePaddle/docs#5683 |
PR types
Bug fixes
PR changes
APIs
Describe
add float16 to greater_equal