class_docstr: Base test class for depthwise Conv2D tests.
class_docstr_tok: ["Base","test","class","for","depthwise","Conv2D","tests","."]
code: def testDepthwiseConv2DInputGrad(self):
      for index, (
          input_size,
          filter_size,
          output_size,
          stride,
          padding,
          dilations,
      ) in enumerate(CheckGradConfigsToTest()):
          tf_logging.info(
              "Testing DepthwiseConv2DInputGrad, %dth config: %r * %r, stride: %d, "
              "padding: %s",
              index,
              input_size,
              filter_size,
              stride,
              padding,
          )
          # double datatype is currently not supported for convolution ops
          # on the ROCm platform
          optional_float64 = (
              [] if test.is_built_with_rocm() else [dtypes.float64]
          )
          for data_type in [dtypes.float32] + optional_float64:
              self._ConstructAndTestGradient(
                  input_size,
                  filter_size,
                  output_size,
                  stride,
                  padding,
                  data_type,
                  test_input=True,
                  use_gpu=True,
                  dilations=dilations,
              )
              self._ConstructAndTestGradient(
                  input_size,
                  filter_size,
                  output_size,
                  stride,
                  padding,
                  data_type,
                  test_input=True,
                  use_gpu=True,
                  grouped_conv=True,
                  dilations=dilations,
              )
  
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  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 gradient_checker
  from tensorflow.python.ops import nn_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
label_desc: Use image node_id 11 for calling the DepthwiseConv2DBase obj's underlying member method code with example usage: obj.testDepthwiseConv2DInputGrad() without return types