MCPcopy Create free account
hub / github.com/TencentARC/Pixal3D / coords

Method coords

pixal3d/modules/sparse/basic.py:517–523  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected