torch.distributions.constraints
Functions
- independent - Factory for creating independent constraints.
- multinomial - Creates a constraint for multinomial distributions.
- cat - Creates a constraint for concatenated distributions using the Cat transform.
- stack - Creates a constraint for stacked distributions using the Stack transform.
- is_dependent - Checks if a constraint is a dependent constraint.
Constraint
- check - Returns a tensor of booleans indicating whether each element
- toString - String representation of the constraint for debugging.
Types
- CatOptions - Options for cat and _Cat
- StackOptions - Options for stack and _Stack
- ArgConstraints -