[[["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-09-20 UTC."],[],[],null,["# tff.types.deserialize_type\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/federated/blob/v0.87.0 Version 2.0, January 2004 Licensed under the Apache License, Version 2.0 (the) |\n\nDeserializes 'type_proto' as a [`tff.Type`](../../tff/types/Type). \n\n tff.types.deserialize_type(\n type_proto: pb.Type\n ) -\u003e ../../tff/types/Type\n\n| **Note:** Currently only deserialization for tensor, named tuple, sequence, and function types is implemented.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|--------------|-----------------------------|\n| `type_proto` | A `pb.Type` to deserialize. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| The corresponding instance of [`tff.Type`](../../tff/types/Type). ||\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Raises ------ ||\n|-----------------------|-----------------------------------------------------------------|\n| `TypeError` | If the argument is of the wrong type. |\n| `NotImplementedError` | For type variants for which deserialization is not implemented. |\n\n\u003cbr /\u003e"]]