A TensorRepSet is "empty" if there are no valid representations of the tensor.
(self)
| 901 | ) |
| 902 | |
| 903 | def is_empty(self) -> bool: |
| 904 | """ |
| 905 | A TensorRepSet is "empty" if there are no valid representations of the tensor. |
| 906 | """ |
| 907 | return ( |
| 908 | len(self.valid_buffer_layouts) == 0 and len(self.valid_texture_layouts) == 0 |
| 909 | ) |
| 910 | |
| 911 | def make_intersect(self, other: "TensorRepSet") -> "TensorRepSet": |
| 912 | """ |
no outgoing calls