def _record_training_step(self, summary):
        """ Adds summary to writer and increments the step. """
        self.writer.add_summary(summary=summary, global_step=self.step)
        self.step += 1