MCPcopy Create free account
hub / github.com/microsoft/TRELLIS.2 / cuda

Method cuda

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

Source from the content-addressed store, hash-verified

147 return self.replace(new_feats)
148
149 def cuda(self) -> 'VarLenTensor':
150 new_feats = self.feats.cuda()
151 return self.replace(new_feats)
152
153 def half(self) -> 'VarLenTensor':
154 new_feats = self.feats.half()

Callers 1

cudaMethod · 0.45

Calls 1

replaceMethod · 0.95

Tested by

no test coverage detected