Save the model state dictionary to disk at the end of each epoch as a .pt file. For use within luz training loop.
callback_save_model_state_dict(save_dir = ".", prefix = "model_epoch")No R object is returned. The state dictionary is saved to disk as a .pt file.
path and directory to save state dictionary files
prefix for file name. Default is "model_epoch". The suffix is the epoch number.