Commit a43e09c
Implement gamma cdf (#89955)
Authored by tillahoffmann originally at #72518
Implements the cumulative distribution function for the gamma distribution. The tests needed a small adjustment to pass because gradients cannot be evaluated with respect to the first argument of the incomplete gamma function (and they're not needed for the test).
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Pull Request resolved: #89955
Approved by: https://github.com/wconstab, https://github.com/malfet1 parent 5167108 commit a43e09c
File tree
2 files changed
+8
-0
lines changed- test/distributions
- torch/distributions
2 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2975 | 2975 | | |
2976 | 2976 | | |
2977 | 2977 | | |
| 2978 | + | |
| 2979 | + | |
| 2980 | + | |
2978 | 2981 | | |
2979 | 2982 | | |
2980 | 2983 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
0 commit comments