ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf_agents.specs.tensor_spec.to_pbtxt_file

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