def _get(self): eval_sess, is_reeval = Queue._get(self) if is_reeval: assert self._curr_eval_sess is eval_sess else: self._curr_eval_sess = eval_sess return eval_sess, is_reeval
def _get(self): item = Queue._get(self) if not self.explicit_unsee: self._seen.remove(item) return item