tf_agents.utils.common.save_spec

View source on GitHub

Saves the given spec nest as a StructProto.

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