Function: create_aipp

Applicability

Product

Supported

Atlas 350 Accelerator Card

x

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas training product

Atlas inference product

Atlas 200I/500 A2 inference product

Function Usage

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, call Function: destroy_aipp.

Prototype

  • C Prototype
    1
    aclmdlAIPP *aclmdlCreateAIPP(uint64_t batchSize)
    
  • Python Function
    1
    aipp_ptr = acl.mdl.create_aipp(batch_size)
    

Parameters

Parameter

Description

batch_size

Int, batch size of the model.

Returns

Return Value

Description

aipp_ptr

Int, object address of data of the aclmdlAIPP type.