code: def test_ndarray_pickle():
      np.random.seed(0)
      maxdim = 5
      nrepeat = 10
      for repeat in range(nrepeat):
          for dim in range(1, maxdim):
              a = random_ndarray(dim)
              b = mx.nd.empty(a.shape)
              a[:] = np.random.uniform(-10, 10, a.shape)
              b[:] = np.random.uniform(-10, 10, a.shape)
              a = a + b
              data = pkl.dumps(a)
              a2 = pkl.loads(data)
              assert np.sum(a.asnumpy() != a2.asnumpy()) == 0
  
imports: import os
  import mxnet
  import numpy
  import pickle
label_desc: Use image node_id 13 for calling a global function with example usage: test_ndarray_pickle() without return types