Function: create_aipp

Applicability

Product

Supported (√/x)

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

√

Atlas training products

√

Atlas inference products

√

Atlas 200I/500 A2 inference products

√

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)
    

Parameter Description

Parameter

Description

batch_size

Int, batch size of the model.

Return Value Description

Return Value

Description

aipp_ptr

Int, object address of data of the aclmdlAIPP type.