Fix log_prob for Gumbel distribution (#15878)
authorvishwakftw <cs15btech11043@iith.ac.in>
Thu, 10 Jan 2019 04:04:18 +0000 (20:04 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 10 Jan 2019 04:09:34 +0000 (20:09 -0800)
commit5f1dd9e7436366d2ea4580ebbaaba1a70b22b4c9
tree980c5fa9f5b5ccb2c62b5b954545eef9b920e867
parent4caca2f0628ed5a93b12cb464b90c623b6d30e2b
Fix log_prob for Gumbel distribution (#15878)

Summary:
Fixes https://github.com/pytorch/pytorch/issues/15681

Changelog:
- Add hard-coded implementation of log_prob
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15878

Differential Revision: D13613716

Pulled By: soumith

fbshipit-source-id: 2ba74e52748b6213098b167940dcc068f0c056f4
torch/distributions/gumbel.py