code: def testDilation(self, dtype):
      for use_gpu in True, False:
          self._testDilationValidPadding(use_gpu, dtype)
          self._testDilationSamePadding(use_gpu, dtype)
          self._testDilationSamePaddingDepth(use_gpu, dtype)
          self._testDilationSamePaddingBatch(use_gpu, dtype)
          self._testDilationValidPaddingNonSquareWindow(use_gpu, dtype)
          self._testDilationSamePaddingRate(use_gpu, dtype)
          self._testDilationValidPaddingUnevenStride(use_gpu, dtype)
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import config
  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 test_util
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.ops import nn_ops
  import tensorflow.python.ops.nn_grad
  from tensorflow.python.platform import test
label_desc: Use image node_id 9 for calling the DilationTest obj's underlying member method code with example usage: obj.testDilation(dtype) without return types