文档
注册

GetOutputIndexByName

函数功能

通过算子的端口名获取输出端口index

函数原型

graphStatus GetOutputIndexByName(const AscendString &name, int32_t &index);

约束说明

参数说明

参数名

输入/输出

描述

name

输入

算子的端口名。

index

输出

算子的输出端口号。

返回值

参数名

类型

描述

-

graphStatus

GRAPH_SUCCESS(0):成功。

其他值:失败。

搜索结果
找到“0”个结果

当前产品无相关内容

未找到相关内容,请尝试其他搜索词