def every_n_step_begin(self, step):
    super(SummarySaver, self).every_n_step_begin(step)
    if ((self._summary_op is None) and (self._scaffold is not None)):
        self._summary_op = self._scaffold.summary_op
    if (self._summary_op is not None):
        return [self._summary_op]
    return []
def every_n_step_begin(self, step):
    super(SummarySaver, self).every_n_step_begin(step)
    if ((self._summary_op is None) and (self._scaffold is not None)):
        self._summary_op = self._scaffold.summary_op
    if (self._summary_op is not None):
        return [self._summary_op]
    return []