code: def test_array(backend_default, args):
      be = NervanaObject.be
      dim1, dim2 = args
      shape = (dim1, dim2)
  
      Wloc = be.array(np.arange(shape[0] * shape[1]).reshape(shape))
      Wdev = be.empty(shape)
  
      init = Array(Wdev)
      init.fill(Wloc)
      assert np.all(np.equal(Wdev.get(), Wloc.get()))
      return
  
file_path: neon/tests/test_initializers.py
imports: import itertools
  import numpy
  from neon import NervanaObject
  from neon.initializers.initializer import Array, Constant, Uniform, Gaussian, GlorotUniform
label_desc: Use image node_id 3 for calling a global function with example usage: test_array(backend_default, args) without return types