下载
中文
注册

Tensor *GetOutput(int32_t index) const noexcept;

函数功能

获取给定索引指定的输出张量。

函数原型

Tensor *GetOutput(int32_t index) const noexcept;

约束说明

index必须在索引范围之内,且index不可为负值。

参数说明

参数名

输入/输出

说明

index

输入

输出张量的索引。

返回值说明

输出张量,如果索引超出范围则为nullptr。