- 04 9月, 2020 1 次提交
-
-
由 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
-
- 28 8月, 2020 1 次提交
-
-
由 pangyoki 提交于
* fix sample shape error * Add unittest * change assert_allclose to assert_equal * Add unittest doc * fix encoding problem
-
- 21 8月, 2020 1 次提交
-
-
由 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
-