Intel® Math Kernel Library 2018 Developer Reference - C
Destroys an attribute container.
dnnError_t dnnPrimitiveAttributesDestroy_F32(dnnPrimitiveAttributes_t attributes);
dnnError_t dnnPrimitiveAttributesDestroy_F64(dnnPrimitiveAttributes_t attributes);
attributes |
The attribute container to clean up. |
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.