code: def _get_test_data():
      batch_size = 4
      in_data = mx.np.random.uniform(size=(10, 3))
      out_data = mx.np.random.uniform(size=(10, 4))
      # Input dataloader
      dataset = gluon.data.dataset.ArrayDataset(in_data, out_data)
      dataloader = gluon.data.DataLoader(dataset, batch_size=batch_size)
      dataiter = mx.io.NDArrayIter(
          data=in_data, label=out_data, batch_size=batch_size
      )
      return dataloader, dataiter
  
file_path: mxnet/tests/python/unittest/test_gluon_batch_processor.py
imports: import sys
  import unittest
  import warnings
  import mxnet
  from mxnet import gluon
  from mxnet.gluon import nn
  from mxnet.gluon.contrib.estimator import *
  from mxnet.gluon.contrib.estimator.event_handler import *
  from mxnet.gluon.contrib.estimator.batch_processor import BatchProcessor
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: _get_test_data() and returns: dataloader,  dataiter