MCPcopy Index your code
hub / github.com/microsoft/TRELLIS / half

Method half

trellis/modules/sparse/basic.py:217–219  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

215 return self.replace(new_feats, new_coords)
216
217 def half(self) -> 'SparseTensor':
218 new_feats = self.feats.half()
219 return self.replace(new_feats)
220
221 def float(self) -> 'SparseTensor':
222 new_feats = self.feats.float()

Callers 1

convert_module_to_f16Function · 0.80

Calls 1

replaceMethod · 0.95

Tested by

no test coverage detected