(self, device)
| 189 | class NodeValueOffloadHelper: |
| 190 | |
| 191 | def __init__(self, device): |
| 192 | self.device = device |
| 193 | self.env_values: Dict[str, Argument] = {} |
| 194 | self.original_device: Dict[torch.Tensor, torch.device] = {} |
| 195 | |
| 196 | def _to_cpu(self, v): |
| 197 | if torch.is_tensor(v): |
nothing calls this directly
no outgoing calls
no test coverage detected