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

Method reshape

pixal3d/modules/sparse/basic.py:631–633  ·  view source on GitHub ↗
(self, *shape)

Source from the content-addressed store, hash-verified

629 return self.replace(new_feats, new_coords)
630
631 def reshape(self, *shape) -> 'SparseTensor':
632 new_feats = self.feats.reshape(self.feats.shape[0], *shape)
633 return self.replace(new_feats)
634
635 def unbind(self, dim: int) -> List['SparseTensor']:
636 return sparse_unbind(self, dim)

Callers

nothing calls this directly

Calls 2

replaceMethod · 0.95
reshapeMethod · 0.45

Tested by

no test coverage detected