aclmdlUnload

Description

Unloads a model and cleans up allocations after model inference is complete. This API is synchronous.

Restrictions

Prototype

aclError aclmdlUnload(uint32_t modelId)

Parameters

Parameter

Input/Output

Description

modelId

Input

ID of the model to unload.

Returns

0 on success; else, failure.

See Also

For the API call sequence, see API Call Sequence.