parameters: (x)
return_statement: return isinstance(x, (ops.Tensor, variables.Variable))
docstring: Returns `True` if `x` is a symbolic tensor-like object.
  
    Args:
      x: A python object to check.
  
    Returns:
      `True` if `x` is a `tf.Tensor` or `tf.Variable`, otherwise `False`.
docstring_summary: Returns `True` if `x` is a symbolic tensor-like object.
docstring_tokens: Returns True if x is a symbolic tensor - like object .
function: def _is_tensor(x):
    """Returns `True` if `x` is a symbolic tensor-like object.
  
    Args:
      x: A python object to check.
  
    Returns:
      `True` if `x` is a `tf.Tensor` or `tf.Variable`, otherwise `False`.
    """
    return isinstance(x, (ops.Tensor, variables.Variable))
function_tokens: def _is_tensor ( x ) : return isinstance ( x , ( ops . Tensor , variables . Variable ) )