Represents the type of the elements in a Tensor.

The following DType objects are defined:

The tf.as_dtype() function converts numpy types and string type names to a DType object.

as_datatype_enum Returns a types_pb2.DataType enum value based on this data type.
as_numpy_dtype Returns a Python type object based on this DType.
base_dtype Returns a non-reference DType based on this DType.
is_bool Returns whether this is a boolean data type.
is_complex Returns whether this