Module: tf.dtypes.experimental

Public API for tf._api.v2.dtypes.experimental namespace

float8_e4m3fn Instance of tf.dtypes.DType

8-bit float with 4 exponent bits and 3 mantissa bits, with extended finite range. This type has no representation for inf, and only two NaN values: 0xFF for negative NaN, and 0x7F for positive NaN.

float8_e5m2 Instance of tf.dtypes.DType

8-bit float with 5 exponent bits and 2 mantissa bits.

int4 Instance of tf.dtypes.DType

Signed 4-bit integer.

uint4 Instance of tf.dtypes.DType

Unsigned 4-bit integer.