enum dnnl::memory::data_type

Overview

Data type specification. More…

#include <dnnl.hpp>

enum data_type
{
    undef = dnnl_data_type_undef,
    f16   = dnnl_f16,
    bf16  = dnnl_bf16,
    f32   = dnnl_f32,
    s32   = dnnl_s32,
    s8    = dnnl_s8,
    u8    = dnnl_u8,
};

Detailed Documentation

Data type specification.

Enum Values

undef

Undefined data type (used for empty memory descriptors).

f16

16-bit/half-precision floating point.

bf16

non-standard 16-bit floating point with 7-bit mantissa.

f32

32-bit/single-precision floating point.

s32

32-bit signed integer.

s8

8-bit signed integer.

u8

8-bit unsigned integer.