MCPcopy
hub / github.com/TencentARC/Pixal3D / to

Method to

pixal3d/modules/sparse/basic.py:576–576  ·  view source on GitHub ↗
(self, dtype: torch.dtype, *, non_blocking: bool = False, copy: bool = False)

Source from the content-addressed store, hash-verified

574
575 @overload
576 def to(self, dtype: torch.dtype, *, non_blocking: bool = False, copy: bool = False) -> 'SparseTensor': ...
577
578 @overload
579 def to(self, device: Optional[Union[str, torch.device]] = None, dtype: Optional[torch.dtype] = None, *, non_blocking: bool = False, copy: bool = False) -> 'SparseTensor': ...

Callers

nothing calls this directly

Calls 2

replaceMethod · 0.95
toMethod · 0.45

Tested by

no test coverage detected