aclmdlCreateAIPP

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training 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 aclmdlDestroyAIPP.

Prototype

1
aclmdlAIPP *aclmdlCreateAIPP(uint64_t batchSize)

Parameters

Parameter

Input/Output

Description

batchSize

Input

Batch size of the original model

Returns

The pointer to data of the aclmdlAIPP type is returned.