code: def test_ndarray_scalar():
      c = mx.nd.empty((10, 10))
      d = mx.nd.empty((10, 10))
      c[:] = 0.5
      d[:] = 1.0
      d -= c * 2 / 3 * 6.0
      c += 0.5
      assert np.sum(c.asnumpy()) - 100 < 1e-5
      assert np.sum(d.asnumpy()) + 100 < 1e-5
      c[:] = 2
      assert np.sum(c.asnumpy()) - 200 < 1e-5
      d = -c + 2
      assert np.sum(d.asnumpy()) < 1e-5
  
imports: import os
  import mxnet
  import numpy
  import pickle
label_desc: Use image node_id 12 for calling a global function with example usage: test_ndarray_scalar() without return types