|View source on GitHub|
Libraries for extending the TensorFlow Federated core library.
class CachingExecutor: The caching executor only performs caching.
class ComputationBuildingBlock: The abstract base class for abstractions in the TFF's internal language.
class Context: Represents the interface to the context that the API executes against.
class ContextStack: An interface to a context stack for the API to run against.
class EagerTFExecutor: The eager executor only runs TensorFlow, synchronously, in eager mode.
class ExecutionContext: Represents an execution context backed by an
class Executor: Represents the abstract interface that all executors must implement.
class ExecutorFactory: Interface defining executor factories.
class ExecutorService: A wrapper around a target executor that makes it into a gRPC service.
class ExecutorValue: Represents the abstract interface for values embedded within executors.
class FederatedComposingStrategy: A strategy for composing federated types and intrinsics in disjoint scopes.
class FederatedResolvingStrategy: A strategy for resolving federated types and intrinsics.
class FederatingExecutor: An executor for handling federated types and intrinsics.
class FederatingStrategy: The abstract interface federating strategies must implement.
class ReferenceResolvingExecutor: The lambda executor handles lambda expressions and related abstractions.
class RemoteExecutor: The remote executor is a local proxy for a remote executor instance.
class ResourceManagingExecutorFactory: Implementation of executor factory holding an executor per cardinality.
class SizeInfo: Structure for size information from SizingExecutorFactory.get_size_info().
class SizingExecutorFactory: A executor factory holding an executor per cardinality.
class TFParser: Callable taking subset of TFF AST constructs to CompiledComputations.
class ThreadDelegatingExecutor: The concurrent executor delegates work to a separate thread.
class TransformingExecutor: This executor transforms computations prior to executing them.
building_block_to_computation(...): Converts a computation building block to a computation impl.
deserialize_computation(...): Deserializes 'tff.Computation' as a pb.Computation.
deserialize_type(...): Deserializes 'type_proto' as a computation_types.Type.
get_context_stack(...): Returns the context stack.
local_executor_factory(...): Constructs an executor factory to execute computations locally.
remote_executor_factory(...): Create an executor backed by remote workers.
replace_intrinsics_with_bodies(...): Iterates over all intrinsic bodies, inlining the intrinsics in
serialize_computation(...): Serializes 'tff.Computation' as a pb.Computation.
serialize_type(...): Serializes 'type_spec' as a pb.Type.
ctx at the bottom of the stack.
sizing_executor_factory(...): Constructs an executor factory to execute computations locally with sizing.
thread_debugging_executor_factory(...): Constructs a simplified execution stack to execute local computations.
type_contains(...): Checks if
type_signature contains any types that pass