Return the device of the model.
(self)
| 160 | |
| 161 | @property |
| 162 | def device(self) -> torch.device: |
| 163 | """ |
| 164 | Return the device of the model. |
| 165 | """ |
| 166 | return next(self.parameters()).device |
| 167 | |
| 168 | def convert_to_fp16(self) -> None: |
| 169 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected