Function: get_aipp_data_size
Applicability
Product |
Supported (√/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)
Parameter Description
Parameter |
Description |
|---|---|
batch_size |
Int, batch size of the original model. |
Return Value Description
Return Value |
Description |
|---|---|
mem_size |
Int, memory size, in bytes. |
ret |
Int, error code.
|
Parent topic: Dynamic AIPP Parameter Settings