Return compute-capable device count of Ascend.
int, the number of compute-capable Ascend devices.
Examples
>>> import mindspore as ms >>> print(ms.device_context.ascend.device_count()) 8