aclmdlGetAippDataSize
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
× |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Obtains the memory size required by the dynamic AIPP input data based on batchSize.
Prototype
1 | aclError aclmdlGetAippDataSize(uint64_t batchSize, size_t *size) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
batchSize |
Input |
Batch size of the original model |
size |
Output |
Memory size, in bytes |
Returns
0 on success; else, failure. For details, see aclError.
Parent topic: aclmdlAIPP