Intel® Math Kernel Library 2018 Developer Reference - C

dnnConcatCreate

Creates concatenation layers.

Syntax

dnnError_t dnnConcatCreate_F32 (dnnPrimitive_t *pConcat, dnnPrimitiveAttributes_t attributes, size_t nSrcTensors, const dnnLayout_t *src);

dnnError_t dnnConcatCreate_F64 (dnnPrimitive_t *pConcat, dnnPrimitiveAttributes_t attributes, size_t nSrcTensors, const dnnLayout_t *src);

Include Files

Input Parameters

attributes

The set of attributes for the primitive.

nSrcTensors

The number of input tensors.

src

Pointer to the layout of input tensors.

Output Parameters

pConcat

Pointer to the primitive to create.

Description

Each dnnConcatCreate function creates a concatenation primitive. The concatenation tensor for M tensors with C0, C1, ..., CM-1 channels, respectively, and same other sizes is defined as:



where