Intel® Math Kernel Library 2018 Developer Reference - C
Returns the container with attributes set for an instance of a primitive.
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.