vpc_create_chn
c函数原型 |
hi_s32 hi_mpi_vpc_create_chn(hi_vpc_chn chn, const hi_vpc_chn_attr *attr); |
---|---|
Python函数 |
ret = acl.himpi.vpc_create_chn(chn, attr) |
函数功能 |
根据设置的通道属性创建图像处理通道,由用户指定通道号。 |
输入说明 |
chn:int,图片处理通道号。
说明:
对于 对于 对于 昇腾虚拟化实例(Ascend Virtual Instance)在各场景下的算力资源规格,在安装昇腾AI处理器的服务器上使用npu-smi info -t template-info命令查看。 attr:dict,图片处理通道属性字典,具体请参见hi_vpc_chn_attr。 |
返回值说明 |
ret:int,错误码。
|
约束说明 |
|
参考资源 |