Function: set_exec_config_opt
C Prototype |
aclError aclmdlSetExecConfigOpt(aclmdlExecConfigHandle *handle, aclmdlExecConfigAttr attr, const void *attrValue, size_t valueSize) |
|---|---|
Python Function |
ret = acl.mdl.set_exec_config_opt(handle, attr, attrValue) |
Function Usage |
Sets the value of each attribute of the configuration object executed by the model. |
Input Description |
handle: int, pointer address to the configuration object executed by the model. Call acl.mdl.create_exec_config_handle to create the pointer address in advance. attr: int, attribute to be set. For details, see aclmdlExecConfigAttr. attrValue: int, value corresponding to attr. |
Return Value |
ret: int, error code.
|
Restrictions |
This API must be used together with other APIs to implement model execution. The API call sequence is as follows:
|
Parent topic: Model Loading and Execution