Method
to
(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
Tested by
no test coverage detected