torch_truncnorm
torch_truncnorm copied to clipboard
Make one sided truncated normal distributions differentiable
Problem
One sided truncated normal distributions are not differentiable with respect to their parameters.
Solution
Add explicit handling of truncated normal distributions when calculating the probability density and cumulative distribution function.