jaxvacua.util.save_zipped_pickle#
- save_zipped_pickle(obj, filen, protocol=-1)#
Pickle
objand write it gzip-compressed tofilen.- Parameters:
obj (
Any) – Python object to serialise.filen (
str) – Output path (.gzrecommended).protocol (
int) – Pickle protocol; default-1(highest).
- Return type:
None