获取算子名称。
数据类型为string的接口后续版本会废弃,建议使用数据类型为非string的接口。
1 2
std::string GetName() const graphStatus GetName(AscendString &name) const
参数名
输入/输出
描述
name
输出
算子名称。
graphStatus类型:GRAPH_SUCCESS,代表成功;GRAPH_FAILED,代表失败。
无。