new_contents: import cPickle as pickle
  import os
  import numpy as np
  
  
  def load_CIFAR_batch(filename):
      with open(filename, 'r') as f:
          datadict = pickle.load(f)
          X = datadict['data']
          Y = datadict['labels']
          X = X.reshape(10000, 3, 32, 32).transpose(0, 2, 3, 1).astype('float')
          Y = np.array(Y)
          return X, Y
  
  def load_CIFAR10(root):
      xs = []
      ys = []
      for b in range(1, 6):
          f = os.path.join(root, 'data_batch_%d' % (b,))
          X, Y = load_CIFAR_batch(f)
          xs.append(X)
          ys.append(Y)
      
  
  
subject: load cifar10 utils