Developer Guide and Reference

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

enum dnnl_data_type_t

Overview

Data type specification. More…
#include <dnnl_types.h> enum dnnl_data_type_t { dnnl_data_type_undef = 0, dnnl_f16 = 1, dnnl_bf16 = 2, dnnl_f32 = 3, dnnl_s32 = 4, dnnl_s8 = 5, dnnl_u8 = 6, };

Detailed Documentation

Data type specification.
Enum Values
dnnl_data_type_undef
Undefined data type, used for empty memory descriptors.
dnnl_f16
16-bit/half-precision floating point.
dnnl_bf16
non-standard 16-bit (bfloat16 w/ 7 bit mantissa) floating point.
dnnl_f32
32-bit/single-precision floating point.
dnnl_s32
32-bit signed integer.
dnnl_s8
8-bit signed integer.
dnnl_u8
8-bit unsigned integer.

Product and Performance Information

1

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