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

Method float

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

Source from the content-addressed store, hash-verified

620 return self.replace(new_feats)
621
622 def float(self) -> 'SparseTensor':
623 new_feats = self.feats.float()
624 return self.replace(new_feats)
625
626 def detach(self) -> 'SparseTensor':
627 new_coords = self.coords.detach()

Callers

nothing calls this directly

Calls 2

replaceMethod · 0.95
floatMethod · 0.45

Tested by

no test coverage detected