tensordict.nn.distributions.TruncatedNormal¶
- class tensordict.nn.distributions.TruncatedNormal(loc: numbers.Number | torch.Tensor, scale: numbers.Number | torch.Tensor, a: numbers.Number | torch.Tensor, b: numbers.Number | torch.Tensor, validate_args: Optional[bool] = None)¶
Truncated Normal distribution.
https://people.sc.fsu.edu/~jburkardt/presentations/truncated_normal.pdf