昇腾社区首页
中文
注册

GetAllRegisteredOpTypes

功能说明

获取所有注册了AI CPU算子Kernel的算子类型信息。

函数原型

std::vector<std::string> GetAllRegisteredOpTypes() const

参数说明

返回值说明

std::vector<std::string>类型。

约束说明

调用示例

std::vector<std::string> op_types = CpuKernelRegister::Instance().GetAllRegisteredOpTypes();