parameters: (image)
return_statement: return array_ops.transpose(image, [1, 0, 2], name='transpose_image')
docstring: Transpose an image by swapping the first and second dimension.
  
    See also `transpose()`.
  
    Args:
      image: 3-D tensor of shape `[height, width, channels]`
  
    Returns:
      A 3-D tensor of shape `[width, height, channels]`
  
    Raises:
      ValueError: if the shape of `image` not supported.
docstring_summary: Transpose an image by swapping the first and second dimension.
docstring_tokens: Transpose an image by swapping the first and second dimension .
function: def transpose_image(image):
    """Transpose an image by swapping the first and second dimension.
  
    See also `transpose()`.
  
    Args:
      image: 3-D tensor of shape `[height, width, channels]`
  
    Returns:
      A 3-D tensor of shape `[width, height, channels]`
  
    Raises:
      ValueError: if the shape of `image` not supported.
    """
    image = ops.convert_to_tensor(image, name='image')
    image = control_flow_ops.with_dependencies(
        _Check3DImage(image, require_static=False), image)
    return array_ops.transpose(image, [1, 0, 2], name='transpose_image')
function_tokens: def transpose_image ( image ) : image = ops . convert_to_tensor ( image , name = 'image' ) image = control_flow_ops . with_dependencies ( _Check3DImage ( image , require_static = False ) , image ) return array_ops . transpose ( image , [ 1 , 0 , 2 ] , name = 'transpose_image' )