def every_n_step_end(self, step, outputs):
    super(SummarySaver, self).every_n_step_end(step, outputs)
    if (self._summary_op is not None):
        summary_strs = _extract_output(outputs, self._summary_op)
        if self._summary_writer:
            self._summary_writer.add_summary(summary_strs, step)
    return False
def every_n_step_end(self, step, outputs):
    super(SummarySaver, self).every_n_step_end(step, outputs)
    if (self._summary_op is not None):
        summary_strs = _extract_output(outputs, self._summary_op)
        if self._summary_writer:
            self._summary_writer.add_summary(summary_strs, step)
    return False