Returns whether the CPU backend is available.
bool, whether the CPU backend is available for this MindSpore package.
Examples
>>> import mindspore as ms >>> print(ms.device_context.cpu.is_available()) True