| View source on GitHub | 
Returns True if the elements of tensor are numbers.
tf.debugging.is_numeric_tensor(
    tensor
)
  Specifically, returns True if the dtype of tensor is one of the following:
tf.float16tf.float32tf.float64tf.int8tf.int16tf.int32tf.int64tf.uint8tf.uint16tf.uint32tf.uint64tf.qint8tf.qint16tf.qint32tf.quint8tf.quint16tf.complex64tf.complex128tf.bfloat16Returns False if tensor is of a non-numeric type or if tensor is not a tf.Tensor object.
    © 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
    https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/debugging/is_numeric_tensor