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

Method type

pixal3d/modules/sparse/basic.py:604–606  ·  view source on GitHub ↗
(self, dtype)

Source from the content-addressed store, hash-verified

602 return self.replace(new_feats, new_coords)
603
604 def type(self, dtype):
605 new_feats = self.feats.type(dtype)
606 return self.replace(new_feats)
607
608 def cpu(self) -> 'SparseTensor':
609 new_feats = self.feats.cpu()

Callers

nothing calls this directly

Calls 2

replaceMethod · 0.95
typeMethod · 0.45

Tested by

no test coverage detected