(self)
| 515 | |
| 516 | @property |
| 517 | def coords(self) -> torch.Tensor: |
| 518 | if config.CONV == 'torchsparse': |
| 519 | return self.data.C |
| 520 | elif config.CONV == 'spconv': |
| 521 | return self.data.indices |
| 522 | else: |
| 523 | return self.data['coords'] |
| 524 | |
| 525 | @coords.setter |
| 526 | def coords(self, value: torch.Tensor): |
nothing calls this directly
no outgoing calls
no test coverage detected