getDeviceList

API定义

std::vector<int> getDeviceList() const;

功能描述

返回Index中管理的Device昇腾AI处理器设置,交由子类继承并实现,在本类中不提供相应的实现,仅会返回一个空vector<int>

输入

输出

返回值

Index中管理的Device昇腾AI处理器设置。

约束说明