aclmdlGetAippDataSize
Description
Obtains the memory size required by the dynamic AIPP input data based on batchSize.
Prototype
aclError aclmdlGetAippDataSize(uint64_t batchSize, size_t *size)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
batchSize |
Input |
Batch size of the source model. |
size |
Output |
Memory size, in bytes. |
Returns
The value 0 indicates success, and other values indicate failure. For details, see aclError.
Parent topic: aclmdlAIPP