Return the device of the model.
(self)
| 269 | |
| 270 | @property |
| 271 | def device(self) -> torch.device: |
| 272 | """ |
| 273 | Return the device of the model. |
| 274 | """ |
| 275 | return next(self.parameters()).device |
| 276 | |
| 277 | def convert_to_fp16(self) -> None: |
| 278 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected