LibTorch's save_to & load_from function - Model Archiving

Not sure exactly your need but have you seen this for saving to disk:

and this for transferring parameters between modules without saving: