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

Method __init__

trellis/modules/sparse/basic.py:33–33  ·  view source on GitHub ↗
(self, feats: torch.Tensor, coords: torch.Tensor, shape: Optional[torch.Size] = None, layout: Optional[List[slice]] = None, **kwargs)

Source from the content-addressed store, hash-verified

31 """
32 @overload
33 def __init__(self, feats: torch.Tensor, coords: torch.Tensor, shape: Optional[torch.Size] = None, layout: Optional[List[slice]] = None, **kwargs): ...
34
35 @overload
36 def __init__(self, data, shape: Optional[torch.Size] = None, layout: Optional[List[slice]] = None, **kwargs): ...

Callers

nothing calls this directly

Calls 3

__cal_shapeMethod · 0.95
__cal_layoutMethod · 0.95
reshapeMethod · 0.80

Tested by

no test coverage detected