ivy Package¶
ivy
Package¶
backend
Module¶
Created on Mar 18, 2014
author: jakeret
-
class
ivy.backend.
IpClusterBackend
(ctx)[source]¶ Bases:
object
Backend based on IPython cluster. Will distribute the workload among the available engines.
-
class
ivy.backend.
JoblibBackend
(ctx)[source]¶ Bases:
object
Backend based on the joblib package Will instantiate a multiprocessing pool with
ctx.params.cpu_count
processes.
-
class
ivy.backend.
LoopWrapper
(loop, parallel=False)[source]¶ Bases:
object
Callable wrapper for the loop execution
-
class
ivy.backend.
MultiprocessingBackend
(ctx)[source]¶ Bases:
object
Backend based on Python’s multiprocessing. Will instantiate a multiprocessing pool with
ctx.params.cpu_count
processes.
context
Module¶
context_provider
Module¶
Created on Mar 6, 2014
author: jakeret
-
class
ivy.context_provider.
DefaultContextProvider
[source]¶ Bases:
object
Default implementation of a context provider. Creates a simple mutable struct as ctx and doesn’t persist the context.
-
class
ivy.context_provider.
PickleContextProvider
[source]¶ Bases:
ivy.context_provider.DefaultContextProvider
Extends the DefaultContextProvider. Persists the context to the disk by using pickle. Requires the attribute ‘ctx_file_name’ in the ctx
loop
Module¶
Created on Mar 4, 2014
author: jakeret