Copy data to the specified device
(self, device: torch.device, *args: Any, **kwargs: Any)
| 126 | @runtime_checkable |
| 127 | class _CopyableData(Protocol): |
| 128 | def to(self, device: torch.device, *args: Any, **kwargs: Any): |
| 129 | """Copy data to the specified device""" |
| 130 | ... |
| 131 | |
| 132 | |
| 133 | def _is_named_tuple(x) -> bool: |
no outgoing calls
no test coverage detected