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

add float16 to greater_equal #51089

Closed

Conversation

yikaikkk
Copy link
Contributor

@yikaikkk yikaikkk commented Mar 1, 2023

PR types

Bug fixes

PR changes

APIs

Describe

add float to greater_equal
任务:#50832
中文文档:PaddlePaddle/docs#5671

@paddle-bot
Copy link

paddle-bot bot commented Mar 1, 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.

place = paddle.CUDAPlace(0)
exe = fluid.Executor(place)
(res,) = exe.run(fetch_list=[out])
self.assertEqual((res == np.array([True, True])).all(), True)
Copy link
Contributor

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()

@zhangting2020
Copy link
Contributor

根据PR-CI-Codestyle-Check提示修改代码风格

@luotao1
Copy link
Contributor

luotao1 commented Mar 6, 2023

close due to following PR is merged:

@luotao1 luotao1 closed this Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants