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

Method half

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

Source from the content-addressed store, hash-verified

151 return self.replace(new_feats)
152
153 def half(self) -> 'VarLenTensor':
154 new_feats = self.feats.half()
155 return self.replace(new_feats)
156
157 def float(self) -> 'VarLenTensor':
158 new_feats = self.feats.float()

Callers 2

convert_module_to_f16Function · 0.45
halfMethod · 0.45

Calls 1

replaceMethod · 0.95

Tested by

no test coverage detected