[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[],null,["# tf_agents.utils.common.save_spec\n\n\u003cbr /\u003e\n\n|------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/utils/common.py#L1238-L1256) |\n\nSaves the given spec nest as a StructProto. \n\n tf_agents.utils.common.save_spec(\n spec, file_path\n )\n\n| **Note:** Currently this will convert BoundedTensorSpecs into regular TensorSpecs.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|-------------|------------------------------------|\n| `spec` | A nested structure of TensorSpecs. |\n| `file_path` | Path to save the encoded spec to. |\n\n\u003cbr /\u003e"]]