tf.image.transpose_image()

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.
doc_TensorFlow
2016-10-14 13:08:13
Comments
Leave a Comment

Please login to continue.