tf_agents.specs.distribution_spec.nested_distributions_from_specs

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.