Function: create_aipp

Applicable Products

  • Ascend 950PR&950DT products: Supported
  • Atlas A3 products: Supported
  • Atlas A2 products: Supported
  • Atlas 200I/500 A2 inference products: Supported
  • Atlas inference products: Supported
  • Atlas training products: Supported

Function

Creates data of the aclmdlAIPP type as a dynamic AIPP configuration based on the batch size supported by the model.

To destroy data of the aclmdlAIPP type, see Function: destroy_aipp.

Prototype

  • C Prototype

    aclmdlAIPP *aclmdlCreateAIPP(uint64_t batchSize)
    
  • Python Function

    aipp_ptr = acl.mdl.create_aipp(batch_size)
    

Parameters

Parameter Description
batch_size Int, batch size of the model.

Return Values

Return Value Description
aipp_ptr Int, object address of data of the aclmdlAIPP type.