Intel® Math Kernel Library 2018 Developer Reference - C

dnnPrimitiveAttributesCreate

Creates an attribute container.

Syntax

dnnError_t dnnPrimitiveAttributesCreate_F32(dnnPrimitiveAttributes_t *attributes);

dnnError_t dnnPrimitiveAttributesCreate_F64(dnnPrimitiveAttributes_t *attributes);

Include Files

Output Parameters

attributes

Pointer to the created attribute container.

Description

Each dnnPrimitiveAttributesCreate function initializes an attribute container with no attributes. The function may allocate extra memory for the container. To release that memory, call dnnPrimitiveAtrributesDestroy.