# tff.learning.templates.LearningProcessOutput

<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 [`LearningProcess.next`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/templates/LearningProcess#next) computation.

    tff.learning.templates.LearningProcessOutput(
        state, metrics
    )

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `state` | A structure that will be passed to invocation of [`LearningProcess.next`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/templates/LearningProcess#next). Not intended for inspection externally, contains implementation details of the process. |
| `metrics` | Metrics derived from the applying the process to a given state and input. This output is intended for surfacing values to better understand the progress of a learning process, and is not directly intended to be used as input to [`LearningProcess.next`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/templates/LearningProcess#next). For example, this output may include classical metrics surrounding the quality of a machine learning model (eg. the average accuracy of a model across the participating clients), or operational metrics concerning systems-oriented information (eg. timing information and the amount of communication occurring between clients and server). |

<br />