Function: destroy_dataset

C Prototype

aclError aclmdlDestroyDataset(const aclmdlDataset *dataset)

Python Function

ret = acl.mdl.destroy_dataset(dataset)

Function Usage

Destroys data of the aclmdlDataset type created by the acl.mdl.create_dataset call.

Input Description

dataset: int, pointer address of aclmdlDataset to be destroyed.

Return Value

ret: int, error code.

Restrictions

Destruction API: The released or destroyed resources are no longer available after this API is called. You are advised to set the released or destroyed resources to invalid values (for example, 0 or None) after calling this API.