GetAllOpName
产品支持情况
头文件/库文件
- 头文件:#include <graph/graph.h>
- 库文件:libgraph.so
功能说明
获取Graph中已注册的所有缓存算子的名称列表。
函数原型
说明
数据类型为string的接口后续版本会废弃,建议使用数据类型为非string的接口。
graphStatus GetAllOpName(std::vector<std::string> &op_name) const
graphStatus GetAllOpName(std::vector<AscendString> &names) const
参数说明
返回值说明
约束说明
此接口为非必需接口,与AddOp搭配使用。