函数:create_aipp
产品支持情况
产品 |
是否支持 |
---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
功能说明
动态AIPP场景下,根据模型支持的batch size创建aclmdlAIPP类型的数据,用于存放动态AIPP的参数。
如需销毁aclmdlAIPP类型的数据,请参见函数:destroy_aipp。
函数原型
- C函数原型
1
aclmdlAIPP *aclmdlCreateAIPP(uint64_t batchSize)
- python函数
1
aipp_ptr = acl.mdl.create_aipp(batch_size)
参数说明
参数名 |
说明 |
---|---|
batch_size |
int,模型的Batch数。 |
返回值说明
返回值 |
说明 |
---|---|
aipp_ptr |
int,aclmdlAIPP类型数据对象地址。 |
父主题: aclmdlAIPP