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

tf_agents.distributions.utils.scale_distribution_to_spec

View source on GitHub

Scales the given distribution to the bounds of the given spec.

tf_agents.distributions.utils.scale_distribution_to_spec(
    distribution, spec
)