def current_epoch_duration()

in realbook/callbacks/debugging.py [0:0]


    def current_epoch_duration(self) -> Optional[float]:
        if self.epoch_start_time is not None:
            return time.time() - self.epoch_start_time
        return None