Enum Type

Enum Documentation

enum marian::Type

enum class Type: stores all supported data type in Marian

Values:

int8 = TypeClass::signed_type + 1u

int8 type

int16 = TypeClass::signed_type + 2u

int16 type

int32 = TypeClass::signed_type + 4u

int32 type

int64 = TypeClass::signed_type + 8u

int64 type

uint8 = TypeClass::unsigned_type + 1u

uint8 type

uint16 = TypeClass::unsigned_type + 2u

uint16 type

uint32 = TypeClass::unsigned_type + 4u

uint32 type

uint64 = TypeClass::unsigned_type + 8u

uint64 type

float16 = TypeClass::float_type + 2u

float16 type

float32 = TypeClass::float_type + 4u

float32 type

float64 = TypeClass::float_type + 8u

float64 type

packed16 = TypeClass::packed_type + 2u

special type for FBGEMM, not meant to be used anywhere else, not meant to be accessed invidually. Internal actual type (uint16) is meaningless.

packed8avx2 = TypeClass::packed_type + 1u + TypeClass::avx2_type

special type for FBGEMM with AVX2, not meant to be used anywhere else, not meant to be accessed invidually. Internal actual type (uint8) is meaningless.

packed8avx512 = TypeClass::packed_type + 1u + TypeClass::avx512_type

special type for FBGEMM with AVX512, not meant to be used anywhere else, not meant to be accessed invidually. Internal actual type (uint8) is meaningless.

intgemm8 = TypeClass::intgemm_type + 1u

Int8 quantized (not packed) matrices for intgemm.

intgemm16 = TypeClass::intgemm_type + 2u

Int16 quantized (not packed) matrices for intgemm.

intgemm8ssse3 = TypeClass::intgemm_type + 1u + TypeClass::ssse3_type

Int8 quantized and packed (ssse3) matrices for intgemm.

intgemm8avx2 = TypeClass::intgemm_type + 1u + TypeClass::avx2_type

Int8 quantized and packed (avx2) matrices for intgemm.

intgemm8avx512 = TypeClass::intgemm_type + 1u + TypeClass::avx512_type

Int8 quantized and packed (avx512) matrices for intgemm.

intgemm8avx512vnni = TypeClass::intgemm_type + 1u + TypeClass::avx512_type + 4096u

Int8 quantized and packed (avx512) matrices for intgemm. VNNI algorithm.

intgemm16sse2 = TypeClass::intgemm_type + 2u + TypeClass::sse2_type

Int16 quantized and packed (sse2) matrices for intgemm.

intgemm16avx2 = TypeClass::intgemm_type + 2u + TypeClass::avx2_type

Int16 quantized and packed (avx2) matrices for intgemm.

intgemm16avx512 = TypeClass::intgemm_type + 2u + TypeClass::avx512_type

Int16 quantized and packed (avx512) matrices for intgemm.