(self)
| 481 | |
| 482 | @property |
| 483 | def layout(self) -> List[slice]: |
| 484 | layout = self.get_spatial_cache('layout') |
| 485 | if layout is None: |
| 486 | layout = self.__cal_layout(self.coords, self.shape[0]) |
| 487 | self.register_spatial_cache('layout', layout) |
| 488 | return layout |
| 489 | |
| 490 | @property |
| 491 | def spatial_shape(self) -> torch.Size: |
nothing calls this directly
no test coverage detected