Function: get_aipp_data_size
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
x |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Function Usage
Obtains the memory size required by the dynamic AIPP input data based on batch_size.
Prototype
- C Prototype
1aclError aclmdlGetAippDataSize(uint64_t batchSize, size_t *size)
- Python Function
1mem_size, ret = acl.mdl.get_aipp_data_size(batch_size)
Parameters
|
Parameter |
Description |
|---|---|
|
batch_size |
Int, batch size of the original model. |
Parent topic: Dynamic AIPP Parameter Settings