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

[Random op]add new API/OP: paddle.poisson #38117

Merged
merged 3 commits into from
Dec 24, 2021

Conversation

zhwesky2010
Copy link
Contributor

@zhwesky2010 zhwesky2010 commented Dec 14, 2021

PR types

New features

PR changes

APIs

Describe

New API/OP: paddle.poisson

import paddle
paddle.set_device('gpu')
paddle.seed(2021)

x = paddle.uniform([2,3], min=1.0, max=5.0)
out = paddle.poisson(x)
# [[0., 5., 1.],
#  [4., 3., 0.]]

FireShot Capture 263 - poisson-API Document-PaddlePaddle Deep Learning Platform - 10 136 157 23

@paddle-bot-old
Copy link

paddle-bot-old bot commented Dec 14, 2021

✅ This PR's description meets the template requirements!
Please wait for other CI results.

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@zhwesky2010 zhwesky2010 changed the title add new API/OP:paddle.poisson/paddle.Tensor.exponential_ add new API/OP: paddle.poisson Dec 16, 2021
@zhwesky2010 zhwesky2010 force-pushed the poisson_exponential branch 4 times, most recently from 0ae1a77 to f55192d Compare December 16, 2021 14:05
Copy link
Contributor

@TCChenlong TCChenlong 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 requested review from lanxianghit and removed request for jeff41404 December 23, 2021 08:40
@zhwesky2010 zhwesky2010 merged commit bcf86e5 into PaddlePaddle:develop Dec 24, 2021
@zhwesky2010 zhwesky2010 changed the title add new API/OP: paddle.poisson [Random op]add new API/OP: paddle.poisson Apr 2, 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.

3 participants