mpi4py.MPI.Pickle
- class mpi4py.MPI.Pickle(dumps=None, loads=None, protocol=None, threshold=None)
Bases:
object
Pickle/unpickle Python objects
- Parameters
- __init__(dumps=None, loads=None, protocol=None, threshold=None)
Methods Summary
dumps
(obj)Serialize object to pickle data stream.
dumps_oob
(obj)Serialize object to pickle data stream and out-of-band buffers.
loads
(data)Deserialize object from pickle data stream.
loads_oob
(data, buffers)Deserialize object from pickle data stream and out-of-band buffers.
Attributes Summary
protocol version
out-of-band threshold
Methods Documentation
- dumps_oob(obj)
Serialize object to pickle data stream and out-of-band buffers.
- loads_oob(data, buffers)
Deserialize object from pickle data stream and out-of-band buffers.
Attributes Documentation
- PROTOCOL
protocol version
- THRESHOLD
out-of-band threshold