parameters: (t, msg, name=None)
return_statement: return out
docstring: 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).
  
    Returns:
      Same tensor as `t`.
docstring_summary: Assert that the tensor does not contain any NaN's or Inf's.
docstring_tokens: Assert that the tensor does not contain any NaN s or Inf s .
function: def verify_tensor_all_finite(t, msg, name=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).
  
    Returns:
      Same tensor as `t`.
    """
    with ops.name_scope(name, "VerifyFinite", [t]) as name:
      t = ops.convert_to_tensor(t, name="t")
      with ops.colocate_with(t):
        verify_input = array_ops.check_numerics(t, message=msg)
        out = control_flow_ops.with_dependencies([verify_input], t)
    return out
function_tokens: def verify_tensor_all_finite ( t , msg , name = None ) : with ops . name_scope ( name , "VerifyFinite" , [ t ] ) as name : t = ops . convert_to_tensor ( t , name = "t" ) with ops . colocate_with ( t ) : verify_input = array_ops . check_numerics ( t , message = msg ) out = control_flow_ops . with_dependencies ( [ verify_input ] , t ) return out