Created by: pangyoki
PR types
Others
PR changes
APIs
Describe
Implement Probability Distribution related classes.
- Release
Distribution
abstract base class and itssample
,log_prob
,entropy
,probs
methods. - Move
Normal
class andUniform
class in paddle/fluid/layers/distributions.py path to paddle/distribution.py. - Add parameter
name
of each class API.name
is initialized in__init__
function, and every function of the class has its ownname
. - Add
probs
method forNormal
class andUniform
class.