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 broadcast_tensors input 0D and distribution API output 0D #51721

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

zhwesky2010
Copy link
Contributor

@zhwesky2010 zhwesky2010 commented Mar 15, 2023

PR types

New features

PR changes

APIs

Describe

支持以下API输入0D:

paddle.broadcast_tensors

支持以下API输出0D:

1.paddle.distribution.Categorical
2.paddle.distribution.Normal
3.paddle.distribution.Uniform
4.paddle.distribution.Beta
5.paddle.distribution.kl_divergence
6.paddle.distribution.TransformedDistribution
7.paddle.distribution.Laplace
8.paddle.distribution.LogNormal
9.paddle.distribution.Gumbel
10.paddle.distribution.Multinomial

@paddle-bot
Copy link

paddle-bot bot commented Mar 15, 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 distribution_0d branch 4 times, most recently from 42cbfad to 855b586 Compare March 16, 2023 11:30
@zhwesky2010 zhwesky2010 changed the title [Zero-Dim] support distribution.sample output 0D [Zero-Dim] support distribution output 0D, broadcast_tensors input 0D Mar 16, 2023
@zhwesky2010 zhwesky2010 changed the title [Zero-Dim] support distribution output 0D, broadcast_tensors input 0D [Zero-Dim] support broadcast_tensors input 0D and distribution API output 0D Mar 17, 2023
@zhwesky2010 zhwesky2010 changed the title [Zero-Dim] support broadcast_tensors input 0D and distribution API output 0D [Zero-Dim] Support broadcast_tensors input 0D and distribution API output 0D Mar 20, 2023
@zhwesky2010 zhwesky2010 force-pushed the distribution_0d branch 2 times, most recently from ea0ee78 to 407174e Compare March 20, 2023 10:34
Copy link
Contributor

@cxxly cxxly left a comment

Choose a reason for hiding this comment

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

LGTM for support 0D for distribution

@zhwesky2010 zhwesky2010 merged commit 2bd0a94 into PaddlePaddle:develop Mar 30, 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.

None yet

2 participants