code: def test_shape_match(self):
      h, w = 12, 18
      input = self.make_variable(
          np.random.rand(1, h, w, 3).astype("float32")
      )
      for padding in ["same", "valid"]:
          for stride in [1, 2]:
              output = Conv2DTranspose(
                  "deconv_s{}_pad{}".format(stride, padding),
                  input,
                  20,
                  3,
                  strides=stride,
                  padding=padding,
              )
  
              static_shape = output.shape
              dynamic_shape = self.eval(output).shape
              self.assertTrue(static_shape == dynamic_shape)
  
file_path: tensorpack/tensorpack/models/models_test.py
imports: import logging
  import unittest
  import numpy
  from ..compat import tfv1
  from .conv2d import Conv2DTranspose
  from .pool import FixedUnPooling
label_desc: Use image node_id 2 for calling the TestConv2DTranspose obj's underlying member method code with example usage: obj.test_shape_match() without return types