code: def testHStride(self):
      rev_block_input = tf.random_uniform([2, 299, 299, 256])
      rev_block_output = revnet.downsample_bottleneck(
          rev_block_input, 512, stride=2, scope="HStride"
      )
      self.assertEqual(
          rev_block_output.get_shape().as_list(), [2, 150, 150, 512]
      )
  
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 2 for calling the RevnetTest obj's underlying member method code with example usage: obj.testHStride() without return types