Module: tff.templates
Stay organized with collections
Save and categorize content based on your preferences.
Templates for commonly used computations.
Classes
class AggregationProcess
: A stateful process that aggregates values.
class EstimationProcess
: A stateful process that can compute an estimate of some value.
class IterativeProcess
: A process that includes an initialization and iterated computation.
class MeasuredProcess
: A stateful process that produces metrics.
class MeasuredProcessOutput
: A structure containing the output of a MeasuredProcess.next
computation.
Functions
chain_measured_processes(...)
: Creates a composition of multiple tff.templates.MeasuredProcess
es.
concatenate_measured_processes(...)
: Creates a concatenation of multiple tff.templates.MeasuredProcess
es.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-20 UTC.
[null,null,["Last updated 2024-09-20 UTC."],[],[],null,["# Module: tff.templates\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\nTemplates for commonly used computations.\n\nClasses\n-------\n\n[`class AggregationProcess`](../tff/templates/AggregationProcess): A stateful process that aggregates values.\n\n[`class EstimationProcess`](../tff/templates/EstimationProcess): A stateful process that can compute an estimate of some value.\n\n[`class IterativeProcess`](../tff/templates/IterativeProcess): A process that includes an initialization and iterated computation.\n\n[`class MeasuredProcess`](../tff/templates/MeasuredProcess): A stateful process that produces metrics.\n\n[`class MeasuredProcessOutput`](../tff/templates/MeasuredProcessOutput): A structure containing the output of a [`MeasuredProcess.next`](../tff/templates/IterativeProcess#next) computation.\n\nFunctions\n---------\n\n[`chain_measured_processes(...)`](../tff/templates/chain_measured_processes): Creates a composition of multiple [`tff.templates.MeasuredProcess`](../tff/templates/MeasuredProcess)es.\n\n[`concatenate_measured_processes(...)`](../tff/templates/concatenate_measured_processes): Creates a concatenation of multiple [`tff.templates.MeasuredProcess`](../tff/templates/MeasuredProcess)es."]]