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

tf_agents.specs.tensor_spec.from_spec

View source on GitHub

Maps the given spec into corresponding TensorSpecs keeping bounds.

tf_agents.specs.tensor_spec.from_spec(
    spec
)