Inheritance diagram for IPython.parallel.client.remotefunction:
Remote Functions and decorators for Views.
Authors:
Bases: IPython.parallel.client.remotefunction.RemoteFunction
Class for mapping a function to sequences.
This will distribute the sequences according the a mapper, and call the function on each sub-sequence. If called via map, then the function will be called once on each element, rather that each sub-sequence.
Parameters : | view : View instance
f : callable
dist : str [default: ‘b’]
block : bool [default: None]
chunksize : int or None
ordered : bool [default: True]
**flags : remaining kwargs are passed to View.temp_flags |
---|
call a function on each element of a sequence remotely. This should behave very much like the builtin map, but return an AsyncMapResult if self.block is False.
Bases: object
Turn an existing function into a remote function.
Parameters : | view : View instance
f : callable
block : bool [default: None]
**flags : remaining kwargs are passed to View.temp_flags |
---|
Turn a function into a parallel remote function.
This method can be used for map:
Turn a function into a remote function.
This method can be used for map: