Function: create_exec_config_handle

Applicable Products

  • Ascend 950PR&950DT products: Supported
  • Atlas A3 products: Supported
  • Atlas A2 products: Supported
  • Atlas 200I/500 A2 inference products: Supported
  • Atlas inference products: Supported
  • Atlas training products: Supported

Function

Creates data of the aclmdlExecConfigHandle type, indicating the pointer address of the configuration object executed by the model.

To destroy data of the aclmdlExecConfigHandle type, see Function: destroy_exec_config_handle.

Prototype

  • C Prototype

    aclmdlExecConfigHandle *aclmdlCreateExecConfigHandle()
    
  • Python Function

    handle = acl.mdl.create_exec_config_handle()
    

Parameters

None

Return Values

Return Value Description
handle Int, pointer address of the aclmdlExecConfigHandle type.
If a non-zero value is returned, the operation is successful.
If 0 is returned, the operation fails.