Check if the accelerator is available.
(self)
| 61 | raise RuntimeError("this method is not supported for cpu accelerator") |
| 62 | |
| 63 | def is_available(self): |
| 64 | """ |
| 65 | Check if the accelerator is available. |
| 66 | """ |
| 67 | return True |
| 68 | |
| 69 | def device_count(self): |
| 70 | """ |
no outgoing calls
no test coverage detected