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

Method __init__

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

Source from the content-addressed store, hash-verified

359
360 @overload
361 def __init__(self, feats: torch.Tensor, coords: torch.Tensor, shape: Optional[torch.Size] = None, **kwargs): ...
362
363 @overload
364 def __init__(self, data, shape: Optional[torch.Size] = None, **kwargs): ...

Callers

nothing calls this directly

Calls 3

__cal_shapeMethod · 0.95
__cal_layoutMethod · 0.95
reshapeMethod · 0.45

Tested by

no test coverage detected