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

tf_agents.utils.common.save_spec

Saves the given spec nest as a StructProto.

spec A nested structure of TensorSpecs.
file_path Path to save the encoded spec to.