code: def testImageAugmentation(self):
      x = np.random.rand(500, 500, 3)
      with self.test_session() as session:
          y = image_utils.image_augmentation(tf.constant(x))
          res = session.run(y)
      self.assertEqual(res.shape, (299, 299, 3))
  
file_path: tensor2tensor/tensor2tensor/data_generators/image_utils_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  from tensor2tensor.data_generators import image_utils
  from tensor2tensor.utils import decoding
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling the ImageTest obj's underlying member method code with example usage: obj.testImageAugmentation() without return types