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

[Zero-Dim] add 0D Tensor UT case for XPU and expand kernel support 0D #53555

Merged
merged 3 commits into from
May 9, 2023

Conversation

zhwesky2010
Copy link
Contributor

@zhwesky2010 zhwesky2010 commented May 6, 2023

PR types

New features

PR changes

OPs

Description

Pcard-66984

#50947 的修改有一些问题,对其进行了expand kernel修复,同时将 https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/fluid/tests/unittests/test_zero_dim_tensor.py 中的0D功能测试,迁移到XPU中。

@paddle-bot
Copy link

paddle-bot bot commented May 6, 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.

@zhwesky2010 zhwesky2010 force-pushed the 0D_xpu branch 3 times, most recently from 167dbbd to 92a3dde Compare May 8, 2023 14:02
@zhwesky2010 zhwesky2010 changed the title [Zero-Dim] add 0D Tensor UT case for XPU [Zero-Dim] add 0D Tensor UT case for XPU and support expand 0D May 9, 2023
test/xpu/test_zero_dim_tensor_xpu.py Outdated Show resolved Hide resolved
test/xpu/test_zero_dim_tensor_xpu.py Outdated Show resolved Hide resolved
Copy link
Contributor

@ykkk2333 ykkk2333 left a comment

Choose a reason for hiding this comment

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

LGTM

@zhwesky2010 zhwesky2010 changed the title [Zero-Dim] add 0D Tensor UT case for XPU and support expand 0D [Zero-Dim] add 0D Tensor UT case for XPU and expand kernel support 0D May 9, 2023
@zhwesky2010 zhwesky2010 merged commit e588f2d into PaddlePaddle:develop May 9, 2023
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.

3 participants