tf_agents.utils.common.save_spec

Stay organized with collections Save and categorize content based on your preferences.

Saves the given spec nest as a StructProto.

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