Function: create_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 aclmdlConfigHandle type as a model loading configuration.

To destroy data of the aclmdlConfigHandle type, see acl.mdl.destroy_config_handle.

Prototype

  • C Prototype

    aclmdlConfigHandle *aclmdlCreateConfigHandle()
    
  • Python Function

    config_handle = acl.mdl.create_config_handle()
    

Parameters

None

Return Values

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