UpdateDynamicOutputDesc
函数原型
graphStatus UpdateDynamicOutputDesc (const string& name, const unsigned int index, const TensorDesc& tensorDesc);
功能说明
根据name和index的组合更新算子动态Output的TensorDesc。
参数说明
参数名 |
输入/输出 |
类型 |
描述 |
---|---|---|---|
name |
输入 |
const string& |
算子动态Output的名称 |
index |
输入 |
const unsigned int |
算子动态Output编号 |
tensorDesc |
输入 |
const TensorDesc& |
TensorDesc对象 |
返回值
参数名 |
类型 |
描述(参数说明、取值范围等) |
---|---|---|
- |
graphStatus |
更新动态Output成功,返回GRAPH_SUCCESS, 否则,返回GRAPH_FAILED。 |
异常处理
无。
约束说明
无。