code: def ConstructAndTestGradient(self, **kwargs):
      for data_format, use_gpu in GetTestConfigs():
          self._ConstructAndTestGradientForConfig(
              data_format=data_format, use_gpu=use_gpu, **kwargs
          )
  
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 23 for calling the Conv3DTest obj's underlying member method code with example usage: obj.ConstructAndTestGradient() without return types