Closed einbandi closed 2 years ago
Implement __repr__ for all classes and __str__ where applicable.
__repr__
__str__
Relevant SE post.
For RelationData subclasses, __repr__ should probably just wrap around the data's representation. Losses and transforms could use the constructor-like syntax mentioned in the post above.
RelationData
Implement
__repr__
for all classes and__str__
where applicable.Relevant SE post.
For
RelationData
subclasses,__repr__
should probably just wrap around the data's representation. Losses and transforms could use the constructor-like syntax mentioned in the post above.