1. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  2. 31 3月, 2022 1 次提交
    • 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