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

Method detach

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

Source from the content-addressed store, hash-verified

223 return self.replace(new_feats)
224
225 def detach(self) -> 'SparseTensor':
226 new_coords = self.coords.detach()
227 new_feats = self.feats.detach()
228 return self.replace(new_feats, new_coords)
229
230 def dense(self) -> torch.Tensor:
231 if BACKEND == 'torchsparse':

Callers 14

zero_moduleFunction · 0.80
scale_moduleFunction · 0.80
calc_window_partitionFunction · 0.80
render_framesFunction · 0.80
bake_textureFunction · 0.80
simplify_gsFunction · 0.80
make_master_paramsFunction · 0.80
unflatten_master_paramsFunction · 0.80
update_emaMethod · 0.80

Calls 1

replaceMethod · 0.95

Tested by

no test coverage detected