@property
def optimizer_freq_cumsum(self):
    if (self._optimizer_freq_cumsum is None):
        self._optimizer_freq_cumsum = np.cumsum(self.trainer.optimizer_frequencies)
    return self._optimizer_freq_cumsum
@property
def optimizer_freq_cumsum(self):
    if (self._optimizer_freq_cumsum is None):
        self._optimizer_freq_cumsum = np.cumsum(self.trainer.optimizer_frequencies)
    return self._optimizer_freq_cumsum