dasf.utils.decorators
Implementations of important library decorators.
Functions
|
Returns if object is forced to run in a CPU. |
|
Returns if object is forced to run in a GPU. |
|
Fetches to CPU all parameters in a Dask data type. |
|
Fetches to CPU all parameters in a GPU data type. |
|
Fetches to CPU all function parameters in a Dask data type. |
|
Fetches to CPU all function parameters in a GPU data type. |
|
Returns all mapped functions corresponding to the executor in place. |
Module Contents
- dasf.utils.decorators.fetch_from_dask(*args, **kwargs)[source]
Fetches to CPU all parameters in a Dask data type.
- Return type:
tuple
- dasf.utils.decorators.fetch_from_gpu(*args, **kwargs)[source]
Fetches to CPU all parameters in a GPU data type.
- Return type:
tuple
- dasf.utils.decorators.fetch_args_from_dask(func)[source]
Fetches to CPU all function parameters in a Dask data type.