OneHotEncoding.
to_dict
Return a dict representation of this Constraint.
The dictionary will contain the Qualified Name of the constraint class in the key constraint, as well as any other arguments that were passed to the constructor when the instance was created.
constraint
Dict representation of this Constraint.
dict