tf_agents.specs.tensor_spec.from_pbtxt_file

Loads a spec encoded as a struct_pb2.StructuredValue from a pbtxt file.