enum dnnl::primitive::kind

Overview

Kinds of primitives supported by the library. More…

#include <dnnl.hpp>

enum kind
{
    undef               = dnnl_undefined_primitive,
    reorder             = dnnl_reorder,
    shuffle             = dnnl_shuffle,
    concat              = dnnl_concat,
    sum                 = dnnl_sum,
    convolution         = dnnl_convolution,
    deconvolution       = dnnl_deconvolution,
    eltwise             = dnnl_eltwise,
    softmax             = dnnl_softmax,
    pooling             = dnnl_pooling,
    lrn                 = dnnl_lrn,
    batch_normalization = dnnl_batch_normalization,
    layer_normalization = dnnl_layer_normalization,
    inner_product       = dnnl_inner_product,
    rnn                 = dnnl_rnn,
    binary              = dnnl_binary,
    logsoftmax          = dnnl_logsoftmax,
    matmul              = dnnl_matmul,
    resampling          = dnnl_resampling,
    pooling_v2          = dnnl_pooling_v2,
    reduction           = dnnl_reduction,
    prelu               = dnnl_prelu,
    softmax_v2          = dnnl_softmax_v2,
};

Detailed Documentation

Kinds of primitives supported by the library.

Enum Values

undef

Undefined primitive.

reorder

A reorder primitive.

shuffle

A shuffle primitive.

concat

A (out-of-place) tensor concatenation primitive.

sum

A summation primitive.

convolution

A convolution primitive.

deconvolution

A deconvolution primitive.

eltwise

An element-wise primitive.

softmax

A softmax primitive.

pooling

A pooling primitive.

lrn

An LRN primitive.

batch_normalization

A batch normalization primitive.

layer_normalization

A layer normalization primitive.

inner_product

An inner product primitive.

rnn

An RNN primitive.

binary

A binary primitive.

logsoftmax

A logsoftmax primitive.

matmul

A matmul (matrix multiplication) primitive.

resampling

A resampling primitive.

pooling_v2

A pooling version 2 primitive.

reduction

A reduction primitive.

prelu

A PReLU primitive.

softmax_v2

A softmax version 2 primitive.