code: def _NumpyUpdate(ref, indices, updates):
      for i, indx in np.ndenumerate(indices):
          indx = i[:-1] + (indx,)
          ref[indx] = updates[i]
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/array_ops/batch_scatter_ops_test.py
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import indexed_slices
  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 2 for calling a global function with example usage: _NumpyUpdate(ref, indices, updates) without return types