---
title: 函数：create_exec_config_handle
description: "创建aclmdlExecConfigHandle类型的数据，表示一个模型执行的配置对象的指针地址。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendgraphapi/aclpythondevg_01_0165.html
sourcePath: /source/zh/canncommercial/900/API/ascendgraphapi/aclpythondevg_01_0165.html
indexId: dab3a156e8880f00f4fc9a33e5273b42860799b423ff69e2b2958db2dede0e8f75
---
# 函数：create_exec_config_handle

#### 功能说明

创建aclmdlExecConfigHandle类型的数据，表示一个模型执行的配置对象的指针地址。

如需销毁aclmdlExecConfigHandle类型的数据，请参见函数：destroy_exec_config_handle。


#### 函数原型

- C函数原型
  1 aclmdlExecConfigHandle *aclmdlCreateExecConfigHandle()

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


#### 参数说明

无


#### 返回值说明

| 返回值 | 说明 |
| --- | --- |
| handle | int，返回aclmdlExecConfigHandle类型的指针地址。 返回非0表示成功。 返回0表示失败。 |
