Intel® oneAPI Deep Neural Network Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-795A6101-8389-4650-B10F-35740E6BDFCC
Visible to Intel only — GUID: GUID-795A6101-8389-4650-B10F-35740E6BDFCC
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, f64 = dnnl_f64, 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.