# tff.framework.deserialize_computation

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) 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) |

Deserializes 'tff.Computation' as a pb.Computation.

    tff.framework.deserialize_computation(
        computation_proto: pb.Computation
    ) -> https://www.tensorflow.org/federated/api_docs/python/tff/Computation

<br />

<br />

<br />

| ## Args ||
|---|---|
| `computation_proto` | An instance of `pb.Computation`. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| The corresponding instance of [`tff.Computation`](https://www.tensorflow.org/federated/api_docs/python/tff/Computation). ||

<br />

<br />

<br />

<br />

| ## Raises ||
|---|---|
| `TypeError` | If the argument is of the wrong type. |

<br />