| Constraint | R Documentation |
Abstract base class for constraints.
Abstract base class for constraints.
A constraint object represents a region over which a variable is valid, e.g. within which a variable can be optimized.
check()Returns a byte tensor of sample_shape + batch_shape indicating
whether each event in value satisfies this constraint.
Constraint$check(value)
valueeach event in value will be checked.
print()Define the print method for constraints,
Constraint$print()
clone()The objects of this class are cloneable with this method.
Constraint$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.