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

Method unbind

trellis/modules/sparse/basic.py:240–241  ·  view source on GitHub ↗
(self, dim: int)

Source from the content-addressed store, hash-verified

238 return self.replace(new_feats)
239
240 def unbind(self, dim: int) -> List['SparseTensor']:
241 return sparse_unbind(self, dim)
242
243 def replace(self, feats: torch.Tensor, coords: Optional[torch.Tensor] = None) -> 'SparseTensor':
244 new_shape = [self.shape[0]]

Callers 9

forwardMethod · 0.80
forwardMethod · 0.80
sparse_unbindFunction · 0.80
_ropeMethod · 0.80
forwardMethod · 0.80

Calls 1

sparse_unbindFunction · 0.85

Tested by

no test coverage detected