blob: ac8c99806e9b2dedaaa3fbc60db9e8eedd314968 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
### `tf.image.flip_left_right(image)` {#flip_left_right}
Flip an image horizontally (left to right).
Outputs the contents of `image` flipped along the second dimension, which is
`width`.
See also `reverse()`.
##### Args:
* <b>`image`</b>: A 3-D tensor of shape `[height, width, channels].`
##### Returns:
A 3-D tensor of the same type and shape as `image`.
##### Raises:
* <b>`ValueError`</b>: if the shape of `image` not supported.
|