Module: tff.simulation
Stay organized with collections
Save and categorize content based on your preferences.
Libraries for running TensorFlow Federated simulations.
Modules
baselines
module: Libraries for constructing baseline learning tasks suitable for simulation.
datasets
module: Datasets for running TensorFlow Federated simulations.
models
module: Models for running TensorFlow Federated simulations.
Classes
class SequenceTypeNotAssignableError
: Inappropriate argument type.
class SequenceTypeNotFoundError
: Inappropriate argument type.
Functions
build_uniform_sampling_fn(...)
: Builds the function for sampling from the input iterator at each round.
compose_dataset_computation_with_computation(...)
: Builds a new tff.Computation
which constructs datasets on clients.
compose_dataset_computation_with_iterative_process(...)
: Builds a new iterative process which constructs datasets on clients.
compose_dataset_computation_with_learning_process(...)
: Builds a new learning process which constructs datasets on clients.
run_training_process(...)
: Runs a federated training_process
.
Other Members |
EVALUATION_METRICS_PREFIX
|
'evaluation/'
|
EVALUATION_TIME_KEY
|
'evaluation_time_in_seconds'
|
ROUND_NUMBER_KEY
|
'round_number'
|
ROUND_TIME_KEY
|
'round_time_in_seconds'
|
TRAINING_TIME_KEY
|
'training_time_in_seconds'
|
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.simulation\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\nLibraries for running TensorFlow Federated simulations.\n\nModules\n-------\n\n[`baselines`](../tff/simulation/baselines) module: Libraries for constructing baseline learning tasks suitable for simulation.\n\n[`datasets`](../tff/simulation/datasets) module: Datasets for running TensorFlow Federated simulations.\n\n[`models`](../tff/simulation/models) module: Models for running TensorFlow Federated simulations.\n\nClasses\n-------\n\n[`class SequenceTypeNotAssignableError`](../tff/simulation/SequenceTypeNotAssignableError): Inappropriate argument type.\n\n[`class SequenceTypeNotFoundError`](../tff/simulation/SequenceTypeNotFoundError): Inappropriate argument type.\n\nFunctions\n---------\n\n[`build_uniform_sampling_fn(...)`](../tff/simulation/build_uniform_sampling_fn): Builds the function for sampling from the input iterator at each round.\n\n[`compose_dataset_computation_with_computation(...)`](../tff/simulation/compose_dataset_computation_with_computation): Builds a new [`tff.Computation`](../tff/Computation) which constructs datasets on clients.\n\n[`compose_dataset_computation_with_iterative_process(...)`](../tff/simulation/compose_dataset_computation_with_iterative_process): Builds a new iterative process which constructs datasets on clients.\n\n[`compose_dataset_computation_with_learning_process(...)`](../tff/simulation/compose_dataset_computation_with_learning_process): Builds a new learning process which constructs datasets on clients.\n\n[`run_training_process(...)`](../tff/simulation/run_training_process): Runs a federated `training_process`.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Other Members ------------- ||\n|---------------------------|--------------------------------|\n| EVALUATION_METRICS_PREFIX | `'evaluation/'` |\n| EVALUATION_TIME_KEY | `'evaluation_time_in_seconds'` |\n| ROUND_NUMBER_KEY | `'round_number'` |\n| ROUND_TIME_KEY | `'round_time_in_seconds'` |\n| TRAINING_TIME_KEY | `'training_time_in_seconds'` |\n\n\u003cbr /\u003e"]]