tf.image.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.