'Train value network using value-specific optimizer.'

def fit_values(self, sess, observations, internal_state, actions, rewards, terminated, pads):

    feed_dict = {self.internal_state: internal_state, self.rewards: rewards, self.terminated: terminated, self.pads: pads}
    for (action_place, action) in zip(self.actions, actions):
        feed_dict[action_place] = action
    for (obs_place, obs) in zip(self.observations, observations):
        feed_dict[obs_place] = obs
    if (self.value_opt is None):
        raise ValueError('Specific    value    optimizer    does    not    exist')
    self.value_opt.optimize(sess, feed_dict)
