mpi4py.MPI.Pickle¶
- class mpi4py.MPI.Pickle(dumps=None, loads=None, protocol=None)¶
Bases:
object
Pickle/unpickle Python objects
- Parameters
- Return type
- __init__(dumps=None, loads=None, protocol=None)¶
Methods Summary
dumps
(obj[, buffer_callback])Serialize object to pickle data stream.
loads
(data[, buffers])Deserialize object from pickle data stream.
Attributes Summary
pickle protocol
Methods Documentation
- dumps(obj, buffer_callback=None)¶
Serialize object to pickle data stream.
- Parameters
obj (Any) –
buffer_callback (Optional[Callable[[Buffer], Any]]) –
- Return type
- loads(data, buffers=None)¶
Deserialize object from pickle data stream.
- Parameters
data (Buffer) –
buffers (Optional[Iterable[Buffer]]) –
- Return type
Any
Attributes Documentation
- PROTOCOL¶
pickle protocol