Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf_agents.specs.distribution_spec.nested_distributions_from_specs

View source on GitHub

Builds a nest of distributions from a nest of specs.

tf_agents.specs.distribution_spec.nested_distributions_from_specs(
    specs, parameters
)

Args:

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

Returns:

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