tf_agents.specs.tensor_spec.from_spec

View source on GitHub

Maps the given spec into corresponding TensorSpecs keeping bounds.