code: def test_sparse_nd_basic():
      def check_sparse_nd_basic_rsp():
          storage_type = "row_sparse"
          shape = rand_shape_2d()
          nd, (v, idx) = rand_sparse_ndarray(shape, storage_type)
          assert nd._num_aux == 1
          assert nd.indices.dtype == np.int64
          assert nd.stype == "row_sparse"
  
      check_sparse_nd_basic_rsp()
  
imports: import pickle
  from mxnet.ndarray import NDArray
  import mxnet
  from mxnet.test_utils import *
  from common import random_seed
  from mxnet.base import mx_real_t
  from numpy.testing import assert_allclose
  import numpy.random
  import numpy
  import scipy.sparse
  from common import assertRaises, xfail_when_nonstandard_decimal_separator
  from mxnet.ndarray.sparse import RowSparseNDArray, CSRNDArray
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_sparse_nd_basic() without return types