whether platform is dcu
(self)
| 75 | return paddle.device.get_device().lower() == "cpu" |
| 76 | |
| 77 | def is_dcu(self) -> bool: |
| 78 | """ |
| 79 | whether platform is dcu |
| 80 | """ |
| 81 | return paddle.is_compiled_with_rocm() |
| 82 | |
| 83 | def is_iluvatar(self) -> bool: |
| 84 | """ |
no outgoing calls
no test coverage detected