class_docstr: Test that CropAndResizeBackprop{Image|Boxes} operates reproducibly.
  
  Inheriting from test_base.CropAndResizeOpTestBase ensures that regular op
  functionality is correct when the deterministic code-path is selected.
docstr: Test that backprop to image is reproducible.
  
  With non-reproducible ordering of reduction operations, upsampling of a
  crop, leading to three or more output pixels being derived from an input
  pixel, can contribute to nondeterminism in the gradient associated with that
  input pixel location.
  
  Note that the number of boxes can be less than, equal to, or greater than
  the batch size. Wth non-reproducible ordering of reduction operations, three
  or more crops overlapping on the same input image pixel can independently
  contribute to nondeterminism in the image gradient associated with that
  input pixel location. This is independent of contributions caused by the
  upsampling of any given crop.
docstr_tok: ["Test","that","backprop","to","image","is","reproducible",".","With","non-reproducible","ordering","of","reduction","operations",",","upsampling","of","a","crop",",","leading","to","three","or","more","output","pixels","being","derived","from","an","input","pixel",",","can","contribute","to","nondeterminism","in","the","gradient","associated","with","that","input","pixel","location",".","Note","that","the","number","of","boxes","can","be","less","than",",","equal","to",",","or","greater","than","the","batch","size",".","Wth","non-reproducible","ordering","of","reduction","operations",",","three","or","more","crops","overlapping","on","the","same","input","image","pixel","can","independently","contribute","to","nondeterminism","in","the","image","gradient","associated","with","that","input","pixel","location",".","This","is","independent","of","contributions","caused","by","the","upsampling","of","any","given","crop","."]
code: def testReproducibleBackpropToImage(self):
      """Test that backprop to image is reproducible.
  
      With non-reproducible ordering of reduction operations, upsampling of a
      crop, leading to three or more output pixels being derived from an input
      pixel, can contribute to nondeterminism in the gradient associated with that
      input pixel location.
  
      Note that the number of boxes can be less than, equal to, or greater than
      the batch size. Wth non-reproducible ordering of reduction operations, three
      or more crops overlapping on the same input image pixel can independently
      contribute to nondeterminism in the image gradient associated with that
      input pixel location. This is independent of contributions caused by the
      upsampling of any given crop.
      """
      self._testReproducibleBackprop(test_image_not_boxes=True)
  
imports: import numpy
  from absl.testing import parameterized
  from tensorflow.python.eager import backprop
  from tensorflow.python.eager import context
  from tensorflow.python.framework import config
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import random_seed
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradients_impl
  from tensorflow.python.ops import image_grad_test_base
  from tensorflow.python.ops import image_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 5 for calling the CropAndResizeOpDeterministicTest obj's underlying member method code with example usage: obj.testReproducibleBackpropToImage() without return types