Assert that the tensor does not contain any NaN's or Inf's.
Compat aliases for migration
See Migration guide for more details.
tf.compat.v2.debugging.assert_all_finite
tf.debugging.assert_all_finite( x, message, name=None )
x
message
name
Same tensor as x.