Return the number of GPUs available.
Bool, the number of GPUs available.
Examples
>>> import mindspore as ms >>> ms.device_context.gpu.device.device_count()