1. 04 9月, 2020 1 次提交
    • P
      fix dtype not matching bug in log_prob and probs method of Distribution class (#26767) · a0c98e67
      pangyoki 提交于
      * fix _to_tensor method of Distribution class
      
      * Add unittest
      
      * let dtype be consistent with value in log_prob and probs
      
      * fix format
      
      * fix dtype problem and change unittest
      
      * fix dtype of Numpy class in unittest
      
      * add formula for entropy and kl
      
      * change formula
      
      * fix kl formula format
      
      * fix kl formula format 2
      
      * change gt to np in unittest
      
      * optimize unittest format
      
      * delete dumplicate
      
      * delete dumplicate 2
      
      * extract common function used to convert dtype value
      a0c98e67
  2. 28 8月, 2020 1 次提交
  3. 21 8月, 2020 1 次提交
    • P
      Release Distribution base class and Normal, Uniform class (#26355) · 644dfd7d
      pangyoki 提交于
      * fixed static module
      
      * solve conflict
      
      * Add Distribution base class, Uniform class and Normal class
      
      * release Distribution class and Normal, Uniform class
      
      * Add Doc args explaination
      
      * save distributions.py and process in distribution.py
      
      * delete useless function in test_distribution
      
      * Add NormalNumpy test class
      
      * Add probs in NormalNumpy
      
      * add distribution to paddle init
      
      * Add Distribution base class and name attribute unittest
      
      * Change Doc
      
      * Change Doc
      
      * adjust format
      
      * Fixed Doc Code
      
      * implement probs and change Variable to Tensor
      
      * Add name for all functions and add name unittest
      
      * support int datatype
      
      * Add dynamic mode
      
      * optimize test_distribution static and dygraph
      644dfd7d