(self, other: object)
| 885 | return f"TensorRepSet(Buffer Layouts: [{buffer_layouts}], Texture Layouts: [{texture_layouts}])" |
| 886 | |
| 887 | def __eq__(self, other: object) -> bool: |
| 888 | if not isinstance(other, TensorRepSet): |
| 889 | return NotImplemented |
| 890 | return ( |
| 891 | self.valid_buffer_layouts == other.valid_buffer_layouts |
| 892 | and self.valid_texture_layouts == other.valid_texture_layouts |
| 893 | ) |
| 894 | |
| 895 | def __ne__(self, other: object) -> bool: |
| 896 | return not self.__eq__(other) |