parameters: (x, axes)
return_statement: return array_ops.reverse(x, axes)
docstring: Reverse a tensor along the specified axes.
  
    Arguments:
        x: Tensor to reverse.
        axes: Integer or iterable of integers.
            Axes to reverse.
  
    Returns:
        A tensor.
docstring_summary: Reverse a tensor along the specified axes.
docstring_tokens: Reverse a tensor along the specified axes .
function: def reverse(x, axes):
    """Reverse a tensor along the specified axes.
  
    Arguments:
        x: Tensor to reverse.
        axes: Integer or iterable of integers.
            Axes to reverse.
  
    Returns:
        A tensor.
    """
    if isinstance(axes, int):
      axes = [axes]
    return array_ops.reverse(x, axes)
function_tokens: def reverse ( x , axes ) : if isinstance ( axes , int ) : axes = [ axes ] return array_ops . reverse ( x , axes )