(self)
| 456 | |
| 457 | @property |
| 458 | def num_gpus(self): |
| 459 | gpus = self.data_parallel_device_ids |
| 460 | if gpus is None: |
| 461 | return 0 |
| 462 | else: |
| 463 | return len(gpus) |
| 464 | |
| 465 | @property |
| 466 | def data_parallel(self): |
nothing calls this directly
no outgoing calls
no test coverage detected