|View source on GitHub|
TensorFlow Federated Library.
backends module: This directory contains code for interfacing custom types of backends.
framework module: Interfaces for extensions, selectively lifted out of
learning module: The public API for model developers using federated learning algorithms.
simulation module: The public API for experimenters running federated learning simulations.
utils module: Utility classes/functions built on top of TensorFlow Federated Core API.
class Computation: An abstract interface for all classes that represent computations.
class Type: An abstract interface for all classes that represent TFF types.
class TypedObject: An abstract interface for things that possess TFF type signatures.
class Value: An abstract base class for all values in the bodies of TFF computations.
federated_computation(...): Decorates/wraps Python functions as TFF federated/composite computations.
federated_value(...): Returns a federated value at
value as the constituent.
federated_zip(...): Converts an N-tuple of federated values into a federated N-tuple value.
sequence_map(...): Maps a TFF sequence
value pointwise using a given function
sequence_reduce(...): Reduces a TFF sequence
value given a
zero and reduction operator
sequence_sum(...): Computes a sum of elements in a sequence.
tf_computation(...): Decorates/wraps Python functions and defuns as TFF TensorFlow computations.