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] support input 0D Tensor for some unary api #45992

Merged
merged 4 commits into from
Oct 12, 2022

Conversation

zhwesky2010
Copy link
Contributor

@zhwesky2010 zhwesky2010 commented Sep 13, 2022

PR types

New features

PR changes

OPs

Describe

[Zero-Dim] support input 0D Tensor for some paddle unary api.

paddle.nn.functional.elu,
paddle.nn.functional.gelu,
paddle.nn.functional.hardsigmoid,
paddle.nn.functional.hardswish,
paddle.nn.functional.leaky_relu,
paddle.nn.functional.log_sigmoid,
paddle.nn.functional.relu,
paddle.nn.functional.relu6,
paddle.nn.functional.sigmoid,
paddle.nn.functional.softplus,
paddle.nn.functional.softshrink,
paddle.nn.functional.softsign,
paddle.nn.functional.swish,
paddle.nn.functional.tanhshrink,
paddle.nn.functional.thresholded_relu,
paddle.stanh,
paddle.nn.functional.celu,
paddle.nn.functional.mish,
paddle.nn.functional.silu,
paddle.nn.functional.tanh,
paddle.cosh,
paddle.sinh,
paddle.abs,
paddle.acos,
paddle.asin,
paddle.atan,
paddle.ceil,
paddle.cos,
paddle.exp,
paddle.floor,
paddle.log,
paddle.log1p,
paddle.reciprocal,
paddle.round,
paddle.sin,
paddle.sqrt,
paddle.square,
paddle.tanh,
paddle.acosh,
paddle.asinh,
paddle.atanh,
paddle.expm1,
paddle.log10,
paddle.log2,
paddle.tan,

@paddle-bot
Copy link

paddle-bot bot commented Sep 13, 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.

@zhwesky2010 zhwesky2010 changed the title [Zero-Dim] support input 0D Tensor for unary api [Zero-Dim] support input 0D Tensor for some unary api Sep 13, 2022
@zhwesky2010 zhwesky2010 changed the title [Zero-Dim] support input 0D Tensor for some unary api [Zero-Dim] support input 0D Tensor for 45 unary api Sep 30, 2022
@zhwesky2010 zhwesky2010 changed the title [Zero-Dim] support input 0D Tensor for 45 unary api [Zero-Dim] support input 0D Tensor for some unary api Sep 30, 2022
@zhwesky2010 zhwesky2010 force-pushed the 0d_unary branch 3 times, most recently from 8d92522 to 34cb57b Compare October 10, 2022 11:33
Copy link
Collaborator

@raindrops2sea raindrops2sea 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 05c2b9b into PaddlePaddle:develop Oct 12, 2022
zhwesky2010 added a commit to zhwesky2010/Paddle that referenced this pull request Oct 27, 2022
…5992)

* [Zero-Dim] support input 0D Tensor for unary api

* fix CI
zhwesky2010 added a commit to zhwesky2010/Paddle that referenced this pull request Oct 27, 2022
…5992)

* [Zero-Dim] support input 0D Tensor for unary api

* fix CI
zhwesky2010 added a commit to zhwesky2010/Paddle that referenced this pull request Oct 28, 2022
…5992)

* [Zero-Dim] support input 0D Tensor for unary api

* fix CI
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