Intel® Math Kernel Library 2019 Developer Reference - C
Destroys an attribute container. Note: The Deep Neural Network (DNN) component in Intel MKL is deprecated and will be removed in a future release. You can continue to use optimized functions for deep neural networks through Intel Math Kernel Library for Deep Neural Networks.
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.