模型开发接口
推理部署接口
API 相关说明
Gets number of devices installed on this system.
device_type (str) – device type, one of ‘gpu’ or ‘cpu’
str
int
previous
megengine.is_rocm_available
next
megengine.get_default_device