enum dnnl::memory::format_kind

Overview

Memory format kind. More…

#include <dnnl.hpp>

enum format_kind
{
    undef   = dnnl_format_kind_undef,
    any     = dnnl_format_kind_any,
    blocked = dnnl_blocked,
    wino    = dnnl_format_kind_wino,
    packed  = dnnl_format_kind_rnn_packed,
};

Detailed Documentation

Memory format kind.

Enum Values

undef

Undefined memory format kind, used for empty memory descriptors.

any

Unspecified format kind.

The primitive selects a format automatically.

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.

wino

Weights format used in 8-bit Winograd convolution.

packed

Packed weights format used in RNN.