(self)
return tl.Fn(
        'A2CObjective',
        lambda dist_inputs, values, returns, dones, rewards, actions, \
        old_log_probs, mask: rl_layers.A2CObjective(
            dist_inputs,
            values,
            returns,
            dones,
            rewards,
            actions,
            mask,
            log_prob_fun=self._policy_dist.log_prob,
            normalize_advantages=self._normalize_advantages),
        n_out=1)
A2C objective with local parameters.
A2C objective with local parameters.
A2C objective with local parameters .
def a2c_objective(self):
    """A2C objective with local parameters."""
    return tl.Fn(
        'A2CObjective',
        lambda dist_inputs, values, returns, dones, rewards, actions, \
        old_log_probs, mask: rl_layers.A2CObjective(
            dist_inputs,
            values,
            returns,
            dones,
            rewards,
            actions,
            mask,
            log_prob_fun=self._policy_dist.log_prob,
            normalize_advantages=self._normalize_advantages),
        n_out=1)
def a2c_objective ( self ) : return tl . Fn ( 'A2CObjective' , lambda dist_inputs , values , returns , dones , rewards , actions , old_log_probs , mask : rl_layers . A2CObjective ( dist_inputs , values , returns , dones , rewards , actions , mask , log_prob_fun = self . _policy_dist . log_prob , normalize_advantages = self . _normalize_advantages ) , n_out = 1 )