Skip to content

[XPU] Unittest for fill_constant_batch_size_like #65698

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

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

mayang002
Copy link
Contributor

PR Category

Custom Device

PR Types

Improvements

Description

增加 fill_constant_batch_size_like 算子的 Python 单测

Copy link

paddle-bot bot commented Jul 4, 2024

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

@paddle-bot paddle-bot bot added the contributor External developers label Jul 4, 2024
Copy link
Member

@tizhou86 tizhou86 left a comment

Choose a reason for hiding this comment

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

LGTM

'''
if new type added, need to add corresponding index
'''
if self.dtype == np.bool_:
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 Author

@mayang002 mayang002 Jul 8, 2024

Choose a reason for hiding this comment

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

与这里的定义是一致的:paddle/fluid/framework/framework.proto

这批数值定义,是按照某种规律或者规范写的么?

@houj04 houj04 merged commit ddfece4 into PaddlePaddle:develop Jul 8, 2024
@mayang002 mayang002 deleted the add_xpu_unittest branch July 11, 2024 03:28
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.

3 participants