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

Method type

trellis2/modules/sparse/basic.py:141–143  ·  view source on GitHub ↗
(self, dtype)

Source from the content-addressed store, hash-verified

139 return self.replace(new_feats)
140
141 def type(self, dtype):
142 new_feats = self.feats.type(dtype)
143 return self.replace(new_feats)
144
145 def cpu(self) -> 'VarLenTensor':
146 new_feats = self.feats.cpu()

Callers 13

manual_castFunction · 0.45
typeMethod · 0.45
_forwardMethod · 0.45
_forwardMethod · 0.45
_forwardMethod · 0.45
_forwardMethod · 0.45
forwardMethod · 0.45
forwardMethod · 0.45
forwardMethod · 0.45
forwardMethod · 0.45
upsampleMethod · 0.45
mesh2ovox.pyFile · 0.45

Calls 1

replaceMethod · 0.95

Tested by

no test coverage detected