Commit 3303168e authored by Yong Tang's avatar Yong Tang Committed by Benoit Steiner
Browse files

Fix issue in tf.image.extract_glimpse (#12829)



* Fix issue in tf.image.extract_glimpse

This fix tries to fix the issue raised in 2134 where
`tf.image.extract_glimpse` does not work as expected
when `centered=False` and `normalized=False`

This fix fixes 2134.

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>

* Add test cases for tf.image.extract_glimpse

Add test cases for tf.image.extract_glimpse with
centered=False and normalized=False

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent 74cfc647
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment