code: def load_dataset(filepath):
      with open(filepath, "rb") as fd:
          try:
              cifar100 = pickle.load(fd, encoding="latin1")
          except TypeError:
              cifar100 = pickle.load(fd)
      image = cifar100["data"].astype(dtype=np.uint8)
      image = image.reshape((-1, 3, 32, 32))
      label = np.asarray(cifar100["fine_labels"], dtype=np.uint8)
      label = label.reshape(label.size, 1)
      return image, label
  
file_path: singa/examples/model_selection/TRAILS-Database-Native-Model-Selection/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/data/cifar100.py
imports: import numpy
  import os
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: load_dataset(filepath) and returns: image,  label