Public Member Functions | |
| def | __init__ (self, lower_bound, upper_bound) | 
| def | check (self, value) | 
| def | __repr__ (self) | 
  Public Member Functions inherited from torch.distributions.constraints.Constraint | |
| def | check (self, value) | 
| def | __repr__ (self) | 
Public Attributes | |
| lower_bound | |
| upper_bound | |
Constrain to a real interval `[lower_bound, upper_bound)`.
Definition at line 227 of file constraints.py.
 1.8.11