code: def _VerifyDilatedConvValues(
      self,
      tensor_in_sizes,
      filter_in_sizes,
      stride,
      padding,
      dilations,
      data_format,
      use_gpu,
      op_name,
  ):
      if use_gpu and not test.is_gpu_available(cuda_only=True):
          self.skipTest("GPU not available")
      expected_results = []
      computed_results = []
      default_dilations = (
          dilations[0] == 1 and dilations[1] == 1 and dilations[2] == 1
      )
      # If any dilation rate is larger than 1, only do test on the GPU
      # because we currently do not have a CPU implementation for arbitrary
      # dilation rates.
      if default_dilations or use_gpu:
          expected, computed = self._ComputeReferenceDilatedConv(
              tensor_in_sizes,
              filter_in_sizes,
              stride,
              dilations,
              padding,
              data_format,
              use_gpu,
              op_name,
          )
          expected_results.append(expected)
          computed_results.append(computed)
          with self.cached_session() as sess:
              expected_values = self.evaluate(expected_results)
              computed_values = self.evaluate(computed_results)
              for e_value, c_value in zip(
                  expected_values, computed_values
              ):
                  tf_logging.debug("expected = %s", e_value)
                  tf_logging.debug("actual = %s", c_value)
                  self.assertAllCloseAccordingToType(
                      e_value.flatten(),
                      c_value.flatten(),
                      atol=1e-5,
                      rtol=1e-6,
                  )
  
imports: import math
  from absl.testing import parameterized
  import numpy
  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 tensor_shape
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import gen_nn_ops
  from tensorflow.python.ops import gradient_checker
  from tensorflow.python.ops import gradients_impl
  from tensorflow.python.ops import nn_ops
  import tensorflow.python.ops.nn_grad
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.util.compat import collections_abc
  from tensorflow.python.eager import context
label_desc: Use image node_id 4 for calling the Conv3DTest obj's underlying member method code with example usage: obj._VerifyDilatedConvValues(tensor_in_sizes, filter_in_sizes, stride, padding, dilations, data_format, use_gpu, op_name) without return types