code: def load_test_data(dir_path="cifar-10-batches-py"):
      images, labels = load_dataset(
          check_dataset_exist(dir_path + "/test_batch")
      )
      return np.array(images, dtype=np.float32), np.array(
          labels, dtype=np.int32
      )
  
imports: from singa import singa_wrap
  from singa import autograd
  from singa import tensor
  from singa import device
  from singa import opt
  from PIL import Image
  import numpy
  import os
  import sys
  import time
label_desc: Use image node_id 3 for calling a global function with example usage: load_test_data(dir_path) and returns: np,  np