tf_agents.specs.distribution_spec.nested_distributions_from_specs

View source on GitHub

Builds a nest of distributions from a nest of specs.

specs A nest of distribution specs.
parameters A nest of distribution kwargs.

Nest of distribution instances with the same structure as the given specs.