Function: create_aipp

C Prototype

aclmdlAIPP *aclmdlCreateAIPP(uint64_t batchSize)

Python Function

aipp_ptr = acl.mdl.create_aipp(batch_size)

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.

Input Description

batch_size: int, number of batches of a model.

Return Value

aipp_ptr: int, object address of data of the aclmdlAIPP type.

Restrictions

None