---
title: 函数：destroy_init_para
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/others/fvsearch/aclpythondevg_01_0831.html
sourcePath: /source/zh/canncommercial/900/others/fvsearch/aclpythondevg_01_0831.html
indexId: 25d852380c31fc32c2528776072696deaf212a982df0b13a624fcc08bf56a13272
---
# 函数：destroy_init_para

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Atlas 350 加速卡 | x |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | x |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | x |
| Atlas 训练系列产品 | x |
| Atlas 推理系列产品 | √ |
| Atlas 200I/500 A2 推理产品 | x |


#### 功能说明

销毁通过acl.fv.create_init_para接口创建的aclfvInitPara类型的数据。

Atlas 推理系列产品 中的 Atlas 推理系列加速模块产品 不支持该接口。


#### 函数原型

- C函数原型
  1 aclError aclfvDestroyInitPara(aclfvInitPara *initPara)

- python函数
  1 ret = acl.fv.destroy_init_para(init_para)


#### 参数说明

| 参数名 | 说明 |
| --- | --- |
| init\_para | int，待销毁的aclfvInitPara类型。 |


#### 返回值说明

| 返回值 | 说明 |
| --- | --- |
| ret | int，错误码。 返回0表示成功。 返回其它值表示失败。 |


#### 资源参考

接口调用流程及示例代码，参见特征向量检索(https://www.hiascend.comdocument/detail/zh/canncommercial/900/programug/acldevg/aclpythondevg_0079.html)。
