(self, sess, batch)
return sess.run(to_return, feed_dict)
Runs one evaluation iteration. Returns a dictionary containing summaries, loss, global_step and (optionally) coverage loss.
Runs one evaluation iteration. Returns a dictionary containing summaries, loss, global_step and (optionally) coverage loss.
Runs one evaluation iteration . Returns a dictionary containing summaries loss global_step and ( optionally ) coverage loss .
def run_eval_step(self, sess, batch):
    """Runs one evaluation iteration. Returns a dictionary containing summaries, loss, global_step and (optionally) coverage loss."""
    feed_dict = self._make_feed_dict(batch)
    to_return = {
        'summaries': self._summaries,
        'loss': self._loss,
        'global_step': self.global_step,
    }
    if self._hps.coverage:
      to_return['coverage_loss'] = self._coverage_loss
    return sess.run(to_return, feed_dict)
def run_eval_step ( self , sess , batch ) : feed_dict = self . _make_feed_dict ( batch ) to_return = { 'summaries' : self . _summaries , 'loss' : self . _loss , 'global_step' : self . global_step , } if self . _hps . coverage : to_return [ 'coverage_loss' ] = self . _coverage_loss return sess . run ( to_return , feed_dict )