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

Method float

trellis2/modules/sparse/basic.py:157–159  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

155 return self.replace(new_feats)
156
157 def float(self) -> 'VarLenTensor':
158 new_feats = self.feats.float()
159 return self.replace(new_feats)
160
161 def detach(self) -> 'VarLenTensor':
162 new_feats = self.feats.detach()

Callers 15

convert_module_to_f32Function · 0.45
__call__Method · 0.45
__call__Method · 0.45
forwardMethod · 0.45
floatMethod · 0.45
_rotary_embeddingMethod · 0.45
forwardMethod · 0.45
create_windowFunction · 0.45
encode_shape_slatMethod · 0.45

Calls 1

replaceMethod · 0.95

Tested by

no test coverage detected