def SetDataStats(self, i, stats_file):
    """Load stats for normalizing the data."""
    assert os.path.exists(stats_file), 'Stats file %s not found.' % stats_file
    stats = np.load(stats_file)
    self.normalize[i] = True
    self.means[i] = cm.CUDAMatrix(stats['mean'].reshape(-1, 1))
    self.stds[i] = cm.CUDAMatrix(1e-10 + stats['std'].reshape(-1, 1))
Load stats for normalizing the data.
deepnet/datahandler.py