Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tff.framework.ThreadDelegatingExecutor

View source on GitHub

The concurrent executor delegates work to a separate thread.

Inherits From: Executor

tff.framework.ThreadDelegatingExecutor(
    target_executor
)

This executor only handles threading. It delegates all execution to an underlying pool of target executors.

Args:

  • target_executor: The executor that does all the work.

Methods

close

View source

close()

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_call(
    *fn_args, **fn_kwargs
)

create_selection

View source

create_selection(
    *fn_args, **fn_kwargs
)

create_tuple

View source

create_tuple(
    *fn_args, **fn_kwargs
)

create_value

View source

create_value(
    *fn_args, **fn_kwargs
)