megengine.get_device_count# get_device_count(device_type)[source]# Gets number of devices installed on this system. Parameters: device_type (str) – device type, one of ‘gpu’ or ‘cpu’ Return type: int