tf_agents.utils.eager_utils.Future

Converts a function or class method call into a future callable.

Methods

__call__

View source

If args/*kwargs are given they would replace those given at init.

Args
*args List of extra arguments.
**kwargs Dict of extra keyword arguments.

Returns
The result of func_or_method(*args, **kwargs).