tf.is_numeric_tensor

tf.is_numeric_tensor(tensor)

Defined in tensorflow/python/ops/check_ops.py.

See the guides: Asserts and boolean checks, Framework (contrib)