vpc_set_chn_opt_attr

Applicable Products

Product

Supported (√/x)

Ascend 950PR&950DT products

x

Atlas A3 products

x

Atlas A2 products

x

Atlas training products

x

Atlas inference products

x

Atlas 200I/500 A2 inference products

x

Description

Sets optional channel attributes.

Prototype

  • C Prototype
    1
    hi_s32 hi_mpi_vpc_set_chn_opt_attr(hi_vpc_chn chn, const hi_opt_attr* opt_attr)
    
  • Python Function
    1
    task_id, ret = acl.himpi.vpc_set_chn_opt_attr(chn, opt_attr)
    

Parameters

Parameter

Description

chn

Int, channel ID for image processing.

opt_attr

Dict, optional channel attributes. For details, see hi_opt_attr.

Return Values

Return Value

Description

ret

ret: int.