enum dnnl_format_kind_t

Overview

Memory format kind. More…

#include <dnnl_types.h>

enum dnnl_format_kind_t
{
    dnnl_format_kind_undef      = 0,
    dnnl_format_kind_any,
    dnnl_blocked,
    dnnl_format_kind_wino,
    dnnl_format_kind_rnn_packed,
};

Detailed Documentation

Memory format kind.

Enum Values

dnnl_format_kind_undef

Undefined memory format kind, used for empty memory descriptors.

dnnl_format_kind_any

Unspecified format kind.

The primitive selects a format automatically.

dnnl_blocked

A tensor in a generic format described by the stride and blocking values in each dimension.

See dnnl_blocking_desc_t for more information.

dnnl_format_kind_wino

Weights format used in 8bit Winograd convolution.

dnnl_format_kind_rnn_packed

Packed weights format used in RNN.