tff.framework.ReferenceResolvingExecutor

The lambda executor handles lambda expressions and related abstractions.

Inherits From: Executor

This executor understands TFF computation compositional constructs, including lambdas, blocks, references, calls, structs, and selections, and orchestrates the execution of these constructs, while delegating all the non-compositional constructs (tensorflow, intrinsics, data, or placement) to a target executor.

The arguments to be ingested can be either federated computations (those are natively interpreted), or whatever other form of arguments are understood by the target executor.

target_executor An instance of executor_base.Executor to which the lambda executor delegates all that it cannot handle by itself.

Methods

close

View source

Release resources associated with this Executor, if any.

If the executor has one or more target Executors, implementation of this method must close them.

create_call

View source

create_selection

View source

create_struct

View source

create_value

View source