---
title: 函数：create_aipp
description: "| C函数原型 | aclmdlAIPP \\*aclmdlCreateAIPP(uint64\\_t batchSize) |"
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/aadgp/aclpythondevg_01_0157.html"
---

# 函数：create_aipp

| C函数原型 | aclmdlAIPP \*aclmdlCreateAIPP(uint64\_t batchSize) |
| --- | --- |
| Python函数 | aipp\_ptr = acl.mdl.create\_aipp(batch\_size) |
| 函数功能 | 动态AIPP场景下，根据模型支持的batch size创建aclmdlAIPP类型的数据，用于存放动态AIPP的参数。同步接口。 如需销毁aclmdlAIPP类型的数据，请参见函数：destroy\_aipp。 |
| 输入说明 | batch\_size：int，模型的Batch数。 |
| 返回值说明 | aipp\_ptr：int，aclmdlAIPP类型数据对象地址。 |
| 约束说明 | 无 |
