Skip to content

Conversation

@zoooo0820
Copy link
Contributor

PR types

New features

PR changes

OPs

Describe

Support 0-d Tensor input for OP kthvalue and mode. Thus, following apis can accept a 0-d Tensor.

paddle.kthvalue
paddle.Tensor.kthvalue
paddle.mode
paddle.Tensor.mode

@paddle-bot
Copy link

paddle-bot bot commented Dec 16, 2022

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

@zoooo0820 zoooo0820 force-pushed the support_0D_for_kthvalue_and_mode branch from e480223 to 0756463 Compare December 16, 2022 12:54
Copy link
Contributor

@zhwesky2010 zhwesky2010 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 merged commit 9df0ab3 into PaddlePaddle:develop Dec 19, 2022
@zoooo0820 zoooo0820 deleted the support_0D_for_kthvalue_and_mode branch December 19, 2022 06:20
zoooo0820 added a commit to zoooo0820/Paddle that referenced this pull request Dec 19, 2022
@zoooo0820 zoooo0820 restored the support_0D_for_kthvalue_and_mode branch December 19, 2022 09:23
XieYunshen pushed a commit that referenced this pull request Dec 20, 2022
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.

2 participants