code: def test_ndarray_fill():
      shape = (100, 20)
      npy = np.arange(np.prod(shape)).reshape(shape)
      arr = mx.nd.array(npy)
      new_npy = npy.copy()
      nrepeat = 3
      for repeat in range(nrepeat):
          indices = np.random.randint(shape[1], size=shape[0])
          val = np.random.randint(shape[1], size=shape[0])
          new_npy[:] = npy
          new_npy[np.arange(shape[0]), indices] = val
          assert same(
              new_npy,
              mx.nd.fill_element_0index(
                  arr, mx.nd.array(val), mx.nd.array(indices)
              ).asnumpy(),
          )
  
imports: import os
  import mxnet
  import numpy
  import pickle
label_desc: Use image node_id 9 for calling a global function with example usage: test_ndarray_fill() without return types