class_docstr: Test determinism-related functionality of tf.nn.depthwise_conv2d.
class_docstr_tok: ["Test","determinism-related","functionality","of","tf.nn.depthwise_conv2d","."]
code: def testBackwardDeterminismGPU(self):
      using_gpu = True
      if test.is_built_with_rocm():
          gpu_dtypes = [dtypes.float16, dtypes.float32]
      else:
          gpu_dtypes = [dtypes.float16, dtypes.float32, dtypes.float64]
      for use_cudnn in [False, True]:
          for data_format in ["NHWC", "NCHW"]:
              for dtype in gpu_dtypes:
                  self._testBackwardDeterminismCase(
                      using_gpu, use_cudnn, data_format, dtype
                  )
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/nn_ops/depthwise_conv_op_d9m_test.py
imports: from tensorflow.python.eager import backprop
  from tensorflow.python.framework import config
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import random_seed
  from tensorflow.python.framework import test_util
  from tensorflow.python.kernel_tests.nn_ops import depthwise_conv_op_base
  from tensorflow.python.ops import nn_impl
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops.nn_grad import _DepthwiseConv2dNativeBackpropFilterGrad
  from tensorflow.python.ops.nn_grad import _DepthwiseConv2dNativeBackpropInputGrad
  from tensorflow.python.platform import test
label_desc: Use image node_id 6 for calling the DepthwiseConv2DDeterministicTest obj's underlying member method code with example usage: obj.testBackwardDeterminismGPU() without return types