(x)
return isinstance(x, (ops.Tensor, variables.Variable))
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`.
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`.
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 .
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))
def _is_tensor ( x ) : return isinstance ( x , ( ops . Tensor , variables . Variable ) )