# tff.templates.MeasuredProcessOutput

<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) |

A structure containing the output of a [`MeasuredProcess.next`](https://www.tensorflow.org/federated/api_docs/python/tff/templates/IterativeProcess#next) computation.

    tff.templates.MeasuredProcessOutput(
        state, result, measurements
    )

### Used in the notebooks

| Used in the tutorials |
|---|
| - [Implementing Custom Aggregations](https://www.tensorflow.org/federated/tutorials/custom_aggregators) - [Composing Learning Algorithms](https://www.tensorflow.org/federated/tutorials/composing_learning_algorithms) |

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `state` | A structure that will be passed to invocation of [`MeasuredProcess.next`](https://www.tensorflow.org/federated/api_docs/python/tff/templates/IterativeProcess#next). Not intended for inspection externally, contains implementation details of the process. |
| `result` | The result of the process given the current input and state. Using the rules of composition, either passed to input arguments of chained a `MeasuredProcess`, or concatenated with outputs of parallel `MeasuredProcess`es. |
| `measurements` | Metrics derived from the computation of `result`. Intended for surfacing values to track the progress of a process that are not sent to chained `MeasuredProcess`es. |

<br />