def compute_dataset_moments(self):
        mean = self.X.astype(np.float32).mean(self.dataset_axis)
        std = (self.X.astype(np.float32) - mean).std(self.dataset_axis)
        return (mean, std)
Compute mean and std of entire dataset
dataset/ETHPy150Open longubu/datumio/datumio/datagen.py/BatchGenerator.compute_dataset_moments