(self)
| 355 | |
| 356 | @property |
| 357 | def device(self): |
| 358 | assert self.weight is not None |
| 359 | return self.weight.device |
| 360 | |
| 361 | def cuda(self, device=None): |
| 362 | assert torch.cuda.is_available() |
nothing calls this directly
no outgoing calls
no test coverage detected