vpc_destroy_chn

Applicable Products

Product

Supported (√/x)

Ascend 950PR / Ascend 950DT

√

Atlas A3 training products / Atlas A3 inference products

√

Atlas A2 training products / Atlas A2 inference products

√

Atlas training products

x

Atlas inference products

√

Atlas 200I/500 A2 inference products

√

Function Usage

Destroys an image processing channel.

Prototype

  • C Prototype
    1
    hi_s32 hi_mpi_vpc_destroy_chn(hi_vpc_chn chn);
    
  • Python Function
    1
    ret = acl.himpi.vpc_destroy_chn(chn)
    

Parameter Description

Parameter

Description

chn

Int, channel ID for image processing.
  • Ascend 950PR / Ascend 950DT : The value range of this parameter is [0, 256). The maximum number of channels is 256.
  • Atlas inference products : The value range of this parameter is [0, 256). The maximum number of channels is 256.
  • Atlas A2 training products / Atlas A2 inference products : The value range of this parameter is [0, 256). The maximum number of channels is 256.
  • Atlas 200I/500 A2 inference products : The value range of this parameter is [0, 128). The maximum number of channels is 128.
  • Atlas A3 training products / Atlas A3 inference products : The value range of this parameter is [0, 256). The maximum number of channels is 256.

Return Value Description

Return Value

Description

ret

Int, error code.

Restrictions

The channel ID must be within the maximum channel ID.

Reference

For the API call sequence, see VPC.