def Normalize(self):
    """Normalize the data present in self.data"""
    for i, batch in enumerate(self.data):
      if self.normalize[i]:
        mean = self.means[i]
        std = self.stds[i]
        batch.add_col_mult(mean, mult=-1.0)
        batch.div_by_col(std)
Normalize the data present in self.data
deepnet/datahandler.py