(self, device: Optional[int] = None)
| 35 | return super().to(*args, **kwargs) |
| 36 | |
| 37 | def cuda(self, device: Optional[int] = None) -> Module: |
| 38 | self.__update_properties(device=torch.device("cuda", index=device)) |
| 39 | return super().cuda(device=device) |
| 40 | |
| 41 | def cpu(self) -> Module: |
| 42 | self.__update_properties(device=torch.device("cpu")) |
nothing calls this directly
no test coverage detected