On this page
Module: tf.compat.v1.dtypes
Public API for tf.dtypes namespace.
Classes
class DType: Represents the type of the elements in a Tensor.
Functions
as_dtype(...): Converts the given type_value to a DType.
as_string(...): Converts each entry in the given tensor to strings.
cast(...): Casts a tensor to a new type.
complex(...): Converts two real numbers to a complex number.
saturate_cast(...): Performs a safe saturating cast of value to dtype.
Other Members
QUANTIZED_DTYPESbfloat16boolcomplex128complex64doublefloat16float32float64halfint16int32int64int8qint16qint32qint8quint16quint8resourcestringuint16uint32uint64uint8variant
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
 https://www.tensorflow.org/versions/r2.3/api_docs/python/tf/compat/v1/dtypes