code: def testScatterOutOfRange(self):
      updates = np.array([-3, -4, -5]).astype(np.float32)
  
      # Indices all in range, no problem.
      indices = np.array([[2], [0], [5]], dtype=np.int32)
      self._runScatterNd(indices, updates, [6])
  
      # Indices out of range should not fail. It produces implementation-defined
      # output.
      indices = np.array([[-1], [0], [5]], dtype=np.int32)
      self._runScatterNd(indices, updates, [6])
      indices = np.array([[2], [0], [6]], dtype=np.int32)
      self._runScatterNd(indices, updates, [6])
  
imports: import functools
  import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 12 for calling the ScatterNdTest obj's underlying member method code with example usage: obj.testScatterOutOfRange() without return types