Function: create_exec_config_handle

Applicability

Product

Supported (√/x)

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas training products

Atlas inference products

Atlas 200I/500 A2 inference products

Function Usage

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

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

Prototype

  • C Prototype
    1
    aclmdlExecConfigHandle *aclmdlCreateExecConfigHandle()
    
  • Python Function
    1
    handle = acl.mdl.create_exec_config_handle()
    

Parameter Description

None.

Return Value Description

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.