vpc_set_chn_opt_attr

c函数原型

hi_s32 hi_mpi_vpc_set_chn_opt_attr(hi_vpc_chn chn, const hi_opt_attr* opt_attr)

Python函数

task_id, ret = acl.himpi.vpc_set_chn_opt_attr(chn, opt_attr)

函数功能

设置通道可选属性。

Atlas 200/300/500 推理产品,不支持该接口。

Atlas 推理系列产品,不支持该接口。

Atlas 200I/500 A2推理产品,不支持该接口。

Atlas 训练系列产品,不支持该接口。

Atlas A2 训练系列产品/Atlas 800I A2 推理产品,不支持该接口。

输入说明

chn:int,图片处理通道号。

opt_attr:dict,通道可选属性信息。具体请参考hi_opt_attr

返回值说明

ret:int。

约束说明