MCPcopy
hub / github.com/TencentARC/Pixal3D / __cal_spatial_shape

Method __cal_spatial_shape

pixal3d/modules/sparse/basic.py:473–474  ·  view source on GitHub ↗
(self, coords)

Source from the content-addressed store, hash-verified

471 return layout
472
473 def __cal_spatial_shape(self, coords):
474 return torch.Size((coords[:, 1:].max(0)[0] + 1).tolist())
475
476 @property
477 def shape(self) -> torch.Size:

Callers 1

spatial_shapeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected