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

tf_agents.networks.normal_projection_network.tanh_squash_to_spec

View source on GitHub

Maps inputs with arbitrary range to range defined by spec using tanh.

tf_agents.networks.normal_projection_network.tanh_squash_to_spec(
    inputs, spec
)