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

Method unbind

trellis2/modules/sparse/basic.py:169–170  ·  view source on GitHub ↗
(self, dim: int)

Source from the content-addressed store, hash-verified

167 return self.replace(new_feats)
168
169 def unbind(self, dim: int) -> List['VarLenTensor']:
170 return varlen_unbind(self, dim)
171
172 def replace(self, feats: torch.Tensor) -> 'VarLenTensor':
173 new_tensor = VarLenTensor(

Callers 11

forwardMethod · 0.45
varlen_unbindFunction · 0.45
to_denseMethod · 0.45
sparse_unbindFunction · 0.45
forwardMethod · 0.45
forwardMethod · 0.45
forwardMethod · 0.45

Calls 1

varlen_unbindFunction · 0.85

Tested by

no test coverage detected