Skip to content

Commit

Permalink
Updated usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
HotPotatoC committed Dec 13, 2019
1 parent 11eb64d commit 1786971
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tensorflow/python/ops/image_ops_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1876,7 +1876,7 @@ def rgb_to_grayscale(images, name=None):
The converted grayscale image(s).
Usage Example:
```python
```
>>> import tensorflow as tf
>>> x = tf.random.normal(shape=(256, 256, 3))
>>> tf.image.rgb_to_grayscale(x)
Expand Down Expand Up @@ -2930,7 +2930,7 @@ def rgb_to_yiq(images):
images: tensor with the same shape as `images`.
Usage Example:
```python
```
>>> import tensorflow as tf
>>> x = tf.random.normal(shape=(256, 256, 3))
>>> tf.image.rgb_to_yiq(x)
Expand Down

0 comments on commit 1786971

Please sign in to comment.