Developer Guide and Reference

  • 2022.1
  • 04/11/2022
  • Public Content
Contents

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.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.