code: def _NumpyUpdate(indices, updates, shape):
      ref = np.zeros(shape, dtype=updates.dtype)
      return _NumpyScatterNd(ref, indices, updates, lambda p, u: u)
  
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 5 for calling a global function with example usage: _NumpyUpdate(indices, updates, shape) and returns: _NumpyScatterNd