---
title: 函数：destroy_exec_config_handle
description: "销毁通过acl.mdl.create_exec_config_handle接口创建的aclmdlExecConfigHandle类型数据。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendgraphapi/aclpythondevg_01_0166.html
sourcePath: /source/zh/canncommercial/900/API/ascendgraphapi/aclpythondevg_01_0166.html
indexId: dc640b32f4fe48556c235f916a600bae7acde2e38a74867574795279510b378c75
---
# 函数：destroy_exec_config_handle

#### 功能说明

销毁通过acl.mdl.create_exec_config_handle接口创建的aclmdlExecConfigHandle类型数据。


#### 函数原型

- C函数原型
  1 aclError aclmdlDestroyExecConfigHandle(const aclmdlExecConfigHandle *handle)

- python函数
  1 ret = acl.mdl.destroy_exec_config_handle(handle)


#### 参数说明

| 参数名 | 说明 |
| --- | --- |
| handle | int，待销毁的aclmdlExecConfigHandle数据类型的指针地址。 |


#### 返回值说明

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