torchoutil.pyoutil.pickle module

dump_pickle(
obj: Any,
fpath: str | Path | PathLike | None,
*,
overwrite: bool = True,
make_parents: bool = True,
) bytes[source]
load_pickle(
fpath: str | Path,
) Any[source]