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

MakeOutputRefInput

头文件/库文件

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

功能说明

指定某输出的内存地址引用自某个输入。

函数原型

1
Tensor *MakeOutputRefInput(size_t output_index, size_t input_index) const

参数说明

参数名

输入/输出

描述

output_index

输入

输出索引。

input_index

输入

输入索引。

返回值说明

output_index对应的输出Tensor指针。

约束说明