Open ajrcampbell opened 5 years ago
Sounds reasonable to add this directly to torch.distributions
. Feel free to put up a PR to either Pyro or PyTorch. If you cc @fritzo and @neerajprad we can review and point out where to add tests and documentation.
Would it be possible to add the Triangular distribution to
pyro.distributions
?Example code: