code: def _disabledTestScatterOutOfRangeGpu(self):
      if test.is_gpu_available():
          return
      for op, _ in _TF_OPS_TO_NUMPY.items():
          params = np.array([1, 2, 3, 4, 5, 6]).astype(np.float32)
          updates = np.array([-3, -4, -5]).astype(np.float32)
          # With GPU, the code ignores indices that are out of range.
          # We don't test the implementation; just test there's no failures.
          with test_util.force_gpu():
              ref = variables.Variable(params)
              self.evaluate(ref.initializer)
  
              # Indices all in range, no problem.
              indices = np.array([2, 0, 5])
              self.evaluate(op(ref, indices, updates))
  
              # Indices out of range should not fail.
              indices = np.array([-1, 0, 5])
              self.evaluate(op(ref, indices, updates))
              indices = np.array([2, 0, 6])
              self.evaluate(op(ref, indices, updates))
  
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 test_util
  from tensorflow.python.ops import ref_variable
  from tensorflow.python.ops import state_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 31 for calling the ScatterTest obj's underlying member method code with example usage: obj._disabledTestScatterOutOfRangeGpu() without return types