Have a question? Connect with the community at the TensorFlow Forum Visit Forum

tf_agents.specs.tensor_spec.to_pbtxt_file

Saves a spec encoded as a struct_pb2.StructuredValue in a pbtxt file.