Intel® Math Kernel Library 2018 Developer Reference - C

dnnPrimitiveAttributesDestroy

Destroys an attribute container.

Syntax

dnnError_t dnnPrimitiveAttributesDestroy_F32(dnnPrimitiveAttributes_t attributes);

dnnError_t dnnPrimitiveAttributesDestroy_F64(dnnPrimitiveAttributes_t attributes);

Include Files

Input Parameters

attributes

The attribute container to clean up.

Description

Each dnnPrimitiveAttributesDestroy function cleans up the attribute container by freeing extra memory allocated for the container. After a call to this function the container is invalid and cannot be used until you re-initialize it with dnnPrimitiveAtrributesCreate or dnnPrimitiveGetAttributes function.