code: def testAgainstTranspose(self):
      self.compareToTranspose(3, 2, 3, 1, 2, "NHWC", False)
      self.compareToTranspose(3, 2, 3, 2, 2, "NHWC", False)
      self.compareToTranspose(1, 2, 3, 2, 3, "NHWC", False)
  
      if not test.is_gpu_available():
          tf_logging.info("skipping gpu tests since gpu not available")
          return
  
      self.compareToTranspose(3, 2, 3, 1, 2, "NHWC", True)
      self.compareToTranspose(3, 2, 3, 2, 2, "NHWC", True)
      self.compareToTranspose(3, 2, 3, 1, 2, "NCHW", True)
      self.compareToTranspose(3, 2, 3, 2, 2, "NCHW", True)
      self.compareToTranspose(3, 2, 3, 1, 3, "NCHW", True)
      self.compareToTranspose(3, 2, 3, 2, 3, "NCHW", True)
      self.compareToTranspose(5, 7, 11, 3, 2, "NCHW", True)
      self.compareToTranspose(3, 200, 300, 32, 2, "NCHW", True)
  
      self.compareToTranspose(3, 2, 3, 8, 2, "NCHW_VECT_C", True)
      self.compareToTranspose(3, 2, 3, 4, 3, "NCHW_VECT_C", True)
      self.compareToTranspose(3, 2, 3, 8, 3, "NCHW_VECT_C", True)
      self.compareToTranspose(5, 7, 11, 12, 2, "NCHW_VECT_C", True)
      self.compareToTranspose(3, 200, 300, 32, 2, "NCHW_VECT_C", True)
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.client import device_lib
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_array_ops
  from tensorflow.python.ops import gradient_checker
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
label_desc: Use image node_id 19 for calling the DepthToSpaceTest obj's underlying member method code with example usage: obj.testAgainstTranspose() without return types