[Zero-Dim] paddle.nanmedian/nanquantile support 0D Tensor by zhwesky2010 · Pull Request #54500 · PaddlePaddle/Paddle

Conversation

@zhwesky2010

PR types

Bug fixes

PR changes

APIs

Description

Pcard-66984

支持以下API输出0D:

1. paddle.nanmedian
2. paddle.nanquantile

infermeta与kernel 都进行了一些修改,保持在原单测成功的前提下,0D测试case能运行通过。

@paddle-bot

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

❌ The PR is not created using PR's template. You can refer to this Demo.
Please use PR's template, it helps save our maintainers' time so that more developers get helped.

@zhwesky2010 zhwesky2010 changed the title [Zero-Dim] paddle.nanmedian support 0D Tensor [Zero-Dim] paddle.nanmedian/nanquantile support 0D Tensor

Jun 12, 2023

jeff41404

Choose a reason for hiding this comment

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

LGTM

jeff41404

jzhang533

Choose a reason for hiding this comment

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

LGTM

zhwesky2010 added a commit to zhwesky2010/Paddle that referenced this pull request

Jun 14, 2023
…le#54500)

* [Zero-Dim] paddle.nanmedian support 0D Tensor

* fix CI

XiaoguangHu01 pushed a commit that referenced this pull request

Jun 14, 2023
…upport 0D, add some 0D case (#54649)

* [Zero-Dim] add 0D test case (#54581)

* [Zero-Dim] paddle.nanmedian/nanquantile support 0D Tensor (#54500)

* [Zero-Dim] paddle.nanmedian support 0D Tensor

* fix CI