pytorch/test/distributions
Randolf Scholz 768d73f692 use torch.special.xlogy to implement x_log_x (#144220)
Fixes #144279

Using `x* x.log()` does not produce the correct value when `x=0`.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/144220
Approved by: https://github.com/Skylion007
2025-01-08 17:41:55 +00:00
..
test_constraints.py
test_distributions.py use torch.special.xlogy to implement x_log_x (#144220) 2025-01-08 17:41:55 +00:00
test_transforms.py
test_utils.py