You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now, the serialization system is based on calling directly __getstate__ and __setstate__. We should add to_dict and from_dict methods.
Note that many objects have __get/setstate__ methods that accept arguments that can be used to improve performance (e.g. SamplerState.__getstate__(ingore_velocities=False)) and should have an equivalent argument in to/from_dict.
For now, the serialization system is based on calling directly
__getstate__
and__setstate__
. We should addto_dict
andfrom_dict
methods.Note that many objects have
__get/setstate__
methods that accept arguments that can be used to improve performance (e.g.SamplerState.__getstate__(ingore_velocities=False)
) and should have an equivalent argument into/from_dict
.See also #407.
The text was updated successfully, but these errors were encountered: