code: def load_train_data(dir_path="/tmp/cifar-100-python"):
      images, labels = load_dataset(
          check_dataset_exist(dir_path + "/train")
      )
      return np.array(images, dtype=np.float32), np.array(
          labels, dtype=np.int32
      )
  
file_path: singa/examples/cifar_distributed_cnn/data/cifar100.py
imports: import numpy
  import os
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: load_train_data(dir_path) and returns: np,  np