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

Method cpu

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

Source from the content-addressed store, hash-verified

606 return self.replace(new_feats)
607
608 def cpu(self) -> 'SparseTensor':
609 new_feats = self.feats.cpu()
610 new_coords = self.coords.cpu()
611 return self.replace(new_feats, new_coords)
612
613 def cuda(self) -> 'SparseTensor':
614 new_feats = self.feats.cuda()

Callers

nothing calls this directly

Calls 2

replaceMethod · 0.95
cpuMethod · 0.45

Tested by

no test coverage detected