code: def verify_tensor_all_finite(
      t=None, msg=None, name=None, x=None, message=None
  ):
      """Assert that the tensor does not contain any NaN's or Inf's.
  
      Args:
        t: Tensor to check.
        msg: Message to log on failure.
        name: A name for this operation (optional).
        x: Alias for t.
        message: Alias for msg.
  
      Returns:
        Same tensor as `t`.
      """
      x = deprecation.deprecated_argument_lookup("x", x, "t", t)
      message = deprecation.deprecated_argument_lookup(
          "message", message, "msg", msg
      )
      return verify_tensor_all_finite_v2(x, message, name)
  
file_path: tensorflow-upstream/tensorflow/python/ops/numerics.py
imports: from tensorflow.python.eager import context
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.util import deprecation
  from tensorflow.python.util import dispatch
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 1 for calling a global function with example usage: verify_tensor_all_finite(t, msg, name, x, message) and returns: verify_tensor_all_finite_v2