Intel® Math Kernel Library 2019 Developer Reference - C
Returns the container with attributes set for an instance of a primitive. 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 dnnPrimitiveGetAttributes_F32(dnnPrimitive_t primitive, dnnPrimitiveAttributes_t *attributes);
dnnError_t dnnPrimitiveGetAttributes_F64(dnnPrimitive_t primitive, dnnPrimitiveAttributes_t *attributes);
primitive |
The operation primitive to extract attributes for. |
attributes |
Pointer to the container filled with attributes. |
Each dnnPrimitiveGetAttributes function creates a container with attributes that were passed on creation of the primitive instance. The function may allocate extra memory for the container. To release that memory, call dnnPrimitiveAtrributesDestroy.