[null,null,["Last updated 2024-09-20 UTC."],[],[],null,["# tff.framework.serialize_computation\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\nSerializes 'tff.Computation' as a pb.Computation. \n\n tff.framework.serialize_computation(\n computation: ../../tff/Computation\n ) -\u003e pb.Computation\n\n| **Note:** Currently only serialization for computation_impl.ConcreteComputation is implemented.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|---------------|------------------------------------------------------------|\n| `computation` | An instance of [`tff.Computation`](../../tff/Computation). |\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 `pb.Computation`. ||\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 computation variants for which serialization is not implemented. |\n\n\u003cbr /\u003e"]]