code: def testEndToEnd(self):
      images = tf.random_uniform([1, 299, 299, 3])
      hparams = revnet.revnet_base()
      hparams.mode = tf_estimator.ModeKeys.TRAIN
      logits = revnet.revnet(images, hparams)
      self.assertEqual(logits.shape, [1, 1, 1, 3328])
  
file_path: tensor2tensor/tensor2tensor/models/revnet_test.py
imports: from tensor2tensor.models import revnet
  import tensorflow.compat.v1
  from tensorflow.compat.v1 import estimator
label_desc: Use image node_id 12 for calling the RevnetTest obj's underlying member method code with example usage: obj.testEndToEnd() without return types