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

Method to

trellis/modules/sparse/basic.py:177–177  ·  view source on GitHub ↗
(self, dtype: torch.dtype)

Source from the content-addressed store, hash-verified

175
176 @overload
177 def to(self, dtype: torch.dtype) -> 'SparseTensor': ...
178
179 @overload
180 def to(self, device: Optional[Union[str, torch.device]] = None, dtype: Optional[torch.dtype] = None) -> 'SparseTensor': ...

Callers 12

forwardMethod · 0.45
_get_phasesMethod · 0.45
_rotary_embeddingMethod · 0.45
forwardMethod · 0.45
fullMethod · 0.45
forwardMethod · 0.45
_sin_cos_embeddingMethod · 0.45
timestep_embeddingMethod · 0.45
_build_perturbationMethod · 0.45

Calls 1

replaceMethod · 0.95

Tested by

no test coverage detected