• X
    Add probability distribution transformation APIs (#40536) · 6735a37a
    Xiaoxu Chen 提交于
    * add random varaiable transformations API for paddle's distribution package
    
    * add TransformedDistribution API for paddle's probability distribution package
    
    * add random variable transformation unitests for static graph
    
    * replace math.prod which not support python3.7 with functools.reduce
    
    * add Independent and TransformedDistribution distribution
    
    * add unittests for constraint
    
    * fix typo and AffineTransform sample code error
    
    * add mean,variance,rsample abstract method for Distribution
    6735a37a
kl.py 6.8 KB