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

Method float

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

Source from the content-addressed store, hash-verified

219 return self.replace(new_feats)
220
221 def float(self) -> 'SparseTensor':
222 new_feats = self.feats.float()
223 return self.replace(new_feats)
224
225 def detach(self) -> 'SparseTensor':
226 new_coords = self.coords.detach()

Callers 15

convert_module_to_f32Function · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
_rotary_embeddingMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80
create_windowFunction · 0.80
_fill_holesFunction · 0.80
bake_textureFunction · 0.80

Calls 1

replaceMethod · 0.95

Tested by

no test coverage detected