code: def read_cifar10_file(filename):
      path = os.path.join(CIFAR10_PATH, filename)
  
      with open(path, "rb") as f:
          # Specify encoding for python 3 in order to be able to
          # read files that has been created in python 2
          options = {"encoding": "latin1"} if six.PY3 else {}
          batch = pickle.load(f, **options)
  
      return batch["data"], batch["labels"]
  
file_path: neupy/examples/cnn/load_cifar10.py
imports: import os
  import tarfile
  import numpy
  import six
  from six.moves.urllib.request import urlretrieve
  from six.moves import cPickle
  from imagenet_tools import FILES_DIR
label_desc: Use image node_id 2 for calling a global function with example usage: read_cifar10_file(filename) and returns: batch,  batch