文档
注册
评分
提单
论坛
小AI

set_output

函数功能

设置指定index的output的tensor。

函数原型

set_output(self, index, output: Union[FlowMsg, np.ndarray, fw.FlowMsg], balance_config: BalanceConfig = None) -> int

参数说明

参数名

输入/输出

描述

index

输入

指定输出的index。

output

输入

指定输出的Msg。

balance_config

输入

可选。输出均衡分发相关配置。

返回值

  • 0:SUCCESS
  • other:FAILED

异常处理

约束说明

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

当前产品无相关内容

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