code: def load_batch(fpath):
      with open(fpath, "rb") as f:
          if sys.version_info > (3, 0):
              # Python3
              d = pickle.load(f, encoding="latin1")
          else:
              # Python2
              d = pickle.load(f)
      data = d["data"]
      labels = d["fine_labels"]
      return data, labels
  
file_path: tflearn/tflearn/datasets/cifar100.py
imports: from __future__ import absolute_import, print_function
  import os
  import sys
  from six.moves import urllib
  import tarfile
  import numpy
  import pickle
  from ..data_utils import to_categorical
label_desc: Use image node_id 2 for calling a global function with example usage: load_batch(fpath) and returns: data,  labels