cavis/libnd4j/include/ops/declarable/generic/random
shugeo 3a3c952e75
Added dtype formulation for poisson and gamma distributions. (#442)
* Added dtype formulation for poisson and gamma distributions.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Refactored gamma distribution generator and tests.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added generator for gamma distribution when alpha (shape) between 0 and 1

Signed-off-by: shugeo <sgazeos@gmail.com>

* Implemented gamma distribution for shape param less than 1 and tests.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Implemented gamma distributed randoms for shape (alpha) parameter greater then 1.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Added cuda implementation for gamma distribution.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Refactored cuda and cpu implementation of gamma distribution.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Fixed crash with default beta param with gamma distribution.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Fixed  pow for arm arch.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Gamma test fixed

* Cosmetic changes only.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Fixed random value retrieving

* Eliminated overflow attemptions.

Signed-off-by: shugeo <sgazeos@gmail.com>

* Modified random retrieving.

Signed-off-by: shugeo <sgazeos@gmail.com>

* enlighted density of tests for Gamma distribution.

Signed-off-by: shugeo <sgazeos@gmail.com>

Co-authored-by: Alexander Stoyakin <alexander.stoyakin@gmail.com>
Co-authored-by: raver119 <raver119@gmail.com>
2020-06-08 13:14:22 +03:00
..
bernoulli.cpp C++ rearrangements (#485) 2020-06-06 15:26:55 +03:00
dropout.cpp some structure for ops (#337) 2020-03-23 07:28:54 +03:00
exponential.cpp C++ rearrangements (#485) 2020-06-06 15:26:55 +03:00
gamma.cpp Added dtype formulation for poisson and gamma distributions. (#442) 2020-06-08 13:14:22 +03:00
get_seed.cpp C++ rearrangements (#485) 2020-06-06 15:26:55 +03:00
multinomial.cpp C++ rearrangements (#485) 2020-06-06 15:26:55 +03:00
normal.cpp C++ rearrangements (#485) 2020-06-06 15:26:55 +03:00
poisson.cpp Added dtype formulation for poisson and gamma distributions. (#442) 2020-06-08 13:14:22 +03:00
random_crop.cpp C++ rearrangements (#485) 2020-06-06 15:26:55 +03:00
random_shuffle.cpp libnd4j polishing (#273) 2020-03-02 12:49:41 +03:00
set_seed.cpp C++ rearrangements (#485) 2020-06-06 15:26:55 +03:00
uniform.cpp C++ rearrangements (#485) 2020-06-06 15:26:55 +03:00