def iteration(self): return utils.flatten_list( [opt_dict.iteration for opt_dict in sorted(self._optimizer_dicts)])
def iteration(self): return utils.flatten_list([opt_dict.iteration for opt_dict in sorted(self._optimizer_dicts)])
def _state_feed_dict_generator(self, history): state = utils.flatten_list( [opt_dict.state for opt_dict in sorted(self._optimizer_dicts)]) for t, his in enumerate(history): yield t, {v: his[k] for k, v in enumerate(state)}
def _state_feed_dict_generator(self, history): state = utils.flatten_list([opt_dict.state for opt_dict in sorted(self._optimizer_dicts)]) for t, his in enumerate(history): yield t, {v: his[k] for k, v in enumerate(state)}