(self)
return tl.Fn('ExplainedVariance', f)
Explained variance metric.
Explained variance metric.
Explained variance metric .
def explained_variance(self):
    """Explained variance metric."""
    def f(dist_inputs, values, returns):
      del dist_inputs
      return rl_layers.ExplainedVariance(values, returns)
    return tl.Fn('ExplainedVariance', f)
def explained_variance ( self ) : def f ( dist_inputs , values , returns ) : del dist_inputs return rl_layers . ExplainedVariance ( values , returns ) return tl . Fn ( 'ExplainedVariance' , f )