This is an automated email from the ASF dual-hosted git repository.

zhasheng pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git.


    from 54c0155  User Feedback Widget (#18639)
     add b4b8b80  Gluon.probability (#18403)

No new revisions were added by this update.

Summary of changes:
 python/mxnet/gluon/__init__.py                     |    2 +
 .../mxnet/gluon/probability}/__init__.py           |    7 +-
 .../mxnet/gluon/probability/block}/__init__.py     |    5 +-
 .../gluon/probability/block/stochastic_block.py    |  134 ++
 .../gluon/probability/distributions/__init__.py    |   86 +
 .../gluon/probability/distributions/bernoulli.py   |  139 ++
 .../mxnet/gluon/probability/distributions/beta.py  |   97 +
 .../gluon/probability/distributions/binomial.py    |  145 ++
 .../gluon/probability/distributions/categorical.py |  168 ++
 .../gluon/probability/distributions/cauchy.py      |   96 +
 .../distributions/chi2.py}                         |   38 +-
 .../gluon/probability/distributions/constraint.py  |  548 +++++
 .../gluon/probability/distributions/dirichlet.py   |  102 +
 .../probability/distributions/distribution.py      |  198 ++
 .../gluon/probability/distributions/divergence.py  |  382 +++
 .../gluon/probability/distributions/exp_family.py  |   68 +
 .../gluon/probability/distributions/exponential.py |  110 +
 .../probability/distributions/fishersnedecor.py    |  107 +
 .../mxnet/gluon/probability/distributions/gamma.py |  102 +
 .../gluon/probability/distributions/geometric.py   |  133 ++
 .../gluon/probability/distributions/gumbel.py      |  109 +
 .../gluon/probability/distributions/half_cauchy.py |   81 +
 .../gluon/probability/distributions/half_normal.py |   82 +
 .../gluon/probability/distributions/independent.py |   94 +
 .../gluon/probability/distributions/laplace.py     |  143 ++
 .../gluon/probability/distributions/multinomial.py |  125 +
 .../distributions/multivariate_normal.py           |  174 ++
 .../probability/distributions/negative_binomial.py |  140 ++
 .../gluon/probability/distributions/normal.py      |  166 ++
 .../distributions/one_hot_categorical.py           |  105 +
 .../gluon/probability/distributions/pareto.py      |   83 +
 .../gluon/probability/distributions/poisson.py     |  110 +
 .../probability/distributions/relaxed_bernoulli.py |  138 ++
 .../distributions/relaxed_one_hot_categorical.py   |  177 ++
 .../gluon/probability/distributions/studentT.py    |  119 +
 .../distributions/transformed_distribution.py      |  105 +
 .../gluon/probability/distributions/uniform.py     |  101 +
 .../mxnet/gluon/probability/distributions/utils.py |  202 ++
 .../gluon/probability/distributions/weibull.py     |   85 +
 .../transformation}/__init__.py                    |    7 +-
 .../gluon/probability/transformation/domain_map.py |  123 +
 .../probability/transformation/transformation.py   |  305 +++
 python/mxnet/ndarray/numpy_extension/random.py     |    2 +-
 src/operator/random/multisample_op.cc              |   17 +-
 src/operator/random/multisample_op.h               |    6 +-
 src/operator/random/sample_op.cc                   |    1 +
 tests/python/gpu/test_operator_gpu.py              |    2 +
 tests/python/unittest/test_gluon_probability_v1.py | 2435 ++++++++++++++++++++
 tests/python/unittest/test_gluon_probability_v2.py | 2365 +++++++++++++++++++
 49 files changed, 10233 insertions(+), 36 deletions(-)
 copy {plugin/opencv => python/mxnet/gluon/probability}/__init__.py (88%)
 copy {plugin/opencv => python/mxnet/gluon/probability/block}/__init__.py (93%)
 create mode 100644 python/mxnet/gluon/probability/block/stochastic_block.py
 create mode 100644 python/mxnet/gluon/probability/distributions/__init__.py
 create mode 100644 python/mxnet/gluon/probability/distributions/bernoulli.py
 create mode 100644 python/mxnet/gluon/probability/distributions/beta.py
 create mode 100644 python/mxnet/gluon/probability/distributions/binomial.py
 create mode 100644 python/mxnet/gluon/probability/distributions/categorical.py
 create mode 100644 python/mxnet/gluon/probability/distributions/cauchy.py
 copy python/mxnet/gluon/{__init__.py => probability/distributions/chi2.py} 
(52%)
 create mode 100644 python/mxnet/gluon/probability/distributions/constraint.py
 create mode 100644 python/mxnet/gluon/probability/distributions/dirichlet.py
 create mode 100644 python/mxnet/gluon/probability/distributions/distribution.py
 create mode 100644 python/mxnet/gluon/probability/distributions/divergence.py
 create mode 100644 python/mxnet/gluon/probability/distributions/exp_family.py
 create mode 100644 python/mxnet/gluon/probability/distributions/exponential.py
 create mode 100644 
python/mxnet/gluon/probability/distributions/fishersnedecor.py
 create mode 100644 python/mxnet/gluon/probability/distributions/gamma.py
 create mode 100644 python/mxnet/gluon/probability/distributions/geometric.py
 create mode 100644 python/mxnet/gluon/probability/distributions/gumbel.py
 create mode 100644 python/mxnet/gluon/probability/distributions/half_cauchy.py
 create mode 100644 python/mxnet/gluon/probability/distributions/half_normal.py
 create mode 100644 python/mxnet/gluon/probability/distributions/independent.py
 create mode 100644 python/mxnet/gluon/probability/distributions/laplace.py
 create mode 100644 python/mxnet/gluon/probability/distributions/multinomial.py
 create mode 100644 
python/mxnet/gluon/probability/distributions/multivariate_normal.py
 create mode 100644 
python/mxnet/gluon/probability/distributions/negative_binomial.py
 create mode 100644 python/mxnet/gluon/probability/distributions/normal.py
 create mode 100644 
python/mxnet/gluon/probability/distributions/one_hot_categorical.py
 create mode 100644 python/mxnet/gluon/probability/distributions/pareto.py
 create mode 100644 python/mxnet/gluon/probability/distributions/poisson.py
 create mode 100644 
python/mxnet/gluon/probability/distributions/relaxed_bernoulli.py
 create mode 100644 
python/mxnet/gluon/probability/distributions/relaxed_one_hot_categorical.py
 create mode 100644 python/mxnet/gluon/probability/distributions/studentT.py
 create mode 100644 
python/mxnet/gluon/probability/distributions/transformed_distribution.py
 create mode 100644 python/mxnet/gluon/probability/distributions/uniform.py
 create mode 100644 python/mxnet/gluon/probability/distributions/utils.py
 create mode 100644 python/mxnet/gluon/probability/distributions/weibull.py
 copy python/mxnet/gluon/{data/vision => 
probability/transformation}/__init__.py (90%)
 create mode 100644 python/mxnet/gluon/probability/transformation/domain_map.py
 create mode 100644 
python/mxnet/gluon/probability/transformation/transformation.py
 create mode 100644 tests/python/unittest/test_gluon_probability_v1.py
 create mode 100644 tests/python/unittest/test_gluon_probability_v2.py

Reply via email to