函数:destroy_exec_config_handle
产品支持情况
- Ascend 950PR&950DT系列产品:支持
- Atlas A3系列产品:支持
- Atlas A2系列产品:支持
- Atlas 200I/500 A2推理产品:支持
- Atlas推理系列产品:支持
- Atlas训练系列产品:支持
功能说明
销毁通过acl.mdl.create_exec_config_handle接口创建的aclmdlExecConfigHandle类型数据。
函数原型
-
C函数原型
aclError aclmdlDestroyExecConfigHandle(const aclmdlExecConfigHandle *handle) -
python函数
ret = acl.mdl.destroy_exec_config_handle(handle)
参数说明
| 参数名 | 说明 |
|---|---|
| handle | int,待销毁的aclmdlExecConfigHandle数据类型的指针地址。 |
返回值说明
| 返回值 | 说明 |
|---|---|
| ret | int,错误码,返回0表示成功,返回其它值表示失败。 |