tf_agents.specs.tensor_spec.from_spec

Maps the given spec into corresponding TensorSpecs keeping bounds.