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

For details about how to destroy data of the aclmdlConfigHandle type, see acl.mdl.destroy_config_handle.

Prototype

  • C Prototype
    1
    aclmdlConfigHandle *aclmdlCreateConfigHandle()
    
  • Python Function
    1
    config_handle = acl.mdl.create_config_handle()
    

Parameter Description

None.

Return Value Description

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.