message: Fix test failure due to changes of the fix for centered=False and normalized=False
diff: @@ -211,28 +211,33 @@ class ExtractGlimpseTest(test.TestCase):
  # [ 0. 0. 0.]
  # [ 0. 0. 0.]
  result1 = image_ops.extract_glimpse_v2(
  - img, [3, 3], [[-2, 2]],
  + img, [3, 3], [[-2, -2]],
  centered=False,
  normalized=False,
  noise='zero')
  self.assertAllEqual(
  - np.asarray([[0, 0, 0], [0, 0, 0], [0, 0, 0]]),
  + np.asarray([[0, 0, 0],
  + [0, 0, 0],
  + [0, 0, 0]]),
  self.evaluate(result1)[0, :, :, 0])
  # Result 2:
  + # [ 12. 13. 14. 0. 0. 0. 0.]
  + # [ 17. 18. 19. 0. 0. 0. 0.]
  + # [ 22. 23. 24. 0. 0. 0. 0.]
  + # [ 0. 0. 0. 0. 0. 0. 0.]
  + # [ 0. 0. 0. 0. 0. 0. 0.]
  # [ 0. 0. 0. 0. 0. 0. 0.]
  - # [ 0. 0. 1. 2. 3. 4. 0.]
  - # [ 0. 5. 6. 7. 8. 9. 0.]
  - # [ 0. 10. 11. 12. 13. 14. 0.]
  - # [ 0. 15. 16. 17. 18. 19. 0.]
  - # [ 0. 20. 21. 22. 23. 24. 0.]
  # [ 0. 0. 0. 0. 0. 0. 0.]
  result2 = image_ops.extract_glimpse_v2(
  img, [7, 7], [[0, 0]], normalized=False, noise='zero')
  self.assertAllEqual(
  - np.asarray([[0, 0, 0, 0, 0, 0, 0], [0, 0, 1, 2, 3, 4, 0],
  - [0, 5, 6, 7, 8, 9, 0], [0, 10, 11, 12, 13, 14, 0],
  - [0, 15, 16, 17, 18, 19, 0], [0, 20, 21, 22, 23, 24, 0],
  + np.asarray([[12, 13, 14, 0, 0, 0, 0],
  + [17, 18, 19, 0, 0, 0, 0],
  + [22, 23, 24, 0, 0, 0, 0],
  + [0, 0, 0, 0, 0, 0, 0],
  + [0, 0, 0, 0, 0, 0, 0],
  + [0, 0, 0, 0, 0, 0, 0],
  [0, 0, 0, 0, 0, 0, 0]]),
  self.evaluate(result2)[0, :, :, 0])
  