---
title: 函数：destroy_handle
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendgraphapi/aclpythondevg_01_0792.html
sourcePath: /source/zh/canncommercial/900/API/ascendgraphapi/aclpythondevg_01_0792.html
indexId: 9a6eeb10287daf5224a2557c587cde2167b250f00fbadae57ccdd8c065998acc75
---
# 函数：destroy_handle

#### 产品支持情况

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


#### 功能说明

销毁一个执行算子的handle。


#### 函数原型

- C函数原型
  1 void aclopDestroyHandle(aclopHandle *handle)

- python函数
  1 acl.op.destroy_handle(handle)


#### 参数说明

| 参数名 | 说明 |
| --- | --- |
| handle | int，待销毁的acl的算子Handle的指针地址。 |


#### 返回值说明

无
