Add probability distribution transformation APIs (#40536)
* 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
Showing
此差异已折叠。
此差异已折叠。
此差异已折叠。
想要评论请 注册 或 登录