C++ Reference: class Constraint
Note: This documentation is automatically generated.
Method | |
---|---|
MutableProto | Return type: Returns the mutable underlying protobuf object (useful for model edition). |
Name | Return type: Returns the name of the constraint (or the empty string if not set). |
OnlyEnforceIf | Return type: Arguments: |
OnlyEnforceIf | Return type: Arguments: See OnlyEnforceIf(absl::Span |
Proto | Return type: Returns the underlying protobuf object (useful for testing). |
WithName | Return type: Arguments: Sets the name of the constraint. |