Return the number of devices on the machine.
(self)
| 67 | return True |
| 68 | |
| 69 | def device_count(self): |
| 70 | """ |
| 71 | Return the number of devices on the machine. |
| 72 | """ |
| 73 | raise RuntimeError("this method is not supported for cpu accelerator") |
| 74 | |
| 75 | def get_device_capability(self, device=None) -> Tuple[int, int]: |
| 76 | """ |
no outgoing calls