昇腾社区首页
中文
注册
开发者
下载

GetOutputTensor

头文件/库文件

  • 头文件:#include <exe_graph/runtime/eager_op_execution_context.h>
  • 库文件:待补充

功能说明

获取index指定的输出Tensor指针。

函数原型

1
const Tensor *GetOutputTensor(size_t index) const

参数说明

参数名

输入/输出

描述

index

输入

输出索引。

返回值说明

输出Tensor指针,异常时返回空指针。

约束说明