-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
move distribution.py into distribution package for better scalability #38047
move distribution.py into distribution package for better scalability #38047
Conversation
Thanks for your contribution! |
9636730
to
7dbc5ed
Compare
7dbc5ed
to
1be4a3f
Compare
1be4a3f
to
08124e9
Compare
08124e9
to
b367294
Compare
…nt file for better scalability
b367294
to
a6efaf2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Sorry to inform you that a6efaf2's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR types
Others
PR changes
Others
Describe
We plan to develop probability distribution package, which will add 25 New APIs and corresponding operators. Currently, paddle organizes all distributions in one file
python/paddle/distribution.py
. It's difficultly to extend this file for adding New API. So we make new a distribution packagepython/paddle/distribution
, movedistribution.py
into it, and split it into more simple files.This modification don't change the path of current api,so users and developer are not affected.
For example, the follow sample code can normally run before and after this modification.