(self)
return tl.Fn('AdvantageMean', f)
Mean of advantages.
Mean of advantages.
Mean of advantages .
def advantage_mean(self):
    """Mean of advantages."""
    def f(dist_inputs, values, returns):
      del dist_inputs
      return jnp.mean(returns - values)
    return tl.Fn('AdvantageMean', f)
def advantage_mean ( self ) : def f ( dist_inputs , values , returns ) : del dist_inputs return jnp . mean ( returns - values ) return tl . Fn ( 'AdvantageMean' , f )