garage.tf.distributions.base module

class Distribution[source]

Bases: object

dim
dist_info_keys
dist_info_specs
entropy(dist_info)[source]
kl(old_dist_info, new_dist_info)[source]

Compute the KL divergence of two distributions

kl_sym(old_dist_info_vars, new_dist_info_vars)[source]

Compute the symbolic KL divergence of two distributions

likelihood_ratio_sym(x_var, old_dist_info_vars, new_dist_info_vars)[source]
log_likelihood(xs, dist_info)[source]
log_likelihood_sym(x_var, dist_info_vars)[source]