neurotorchmz.core.serialize#

Classes

Serializable()

Abstract base class for objects that are serializable

Exceptions

exception neurotorchmz.core.serialize.DeserializeError#

Bases: Exception

class neurotorchmz.core.serialize.Serializable#

Bases: object

Abstract base class for objects that are serializable

classmethod deserialize(serialize_dict: dict, **kwargs) Self#

Deserialize the given dict into a class object

load_pickle(b: bytes) Self#

Decodes a pickle object

pickle(**kwargs) bytes#

Pickles the object and returns it as a binary string

serialize(**kwargs) dict#

Serialize the current class object into a dict

exception neurotorchmz.core.serialize.SerializeError#

Bases: Exception