reload_model: Reload a previously fitted model

View source: R/utility.R

reload_modelR Documentation

Reload a previously fitted model

Description

reload_model allows a user to save a fitted model, reload it in a new R terminal, and then relink the DLLs so that it functions as expected.

Usage

reload_model(x, check_gradient = TRUE)

Arguments

x

Output from tinyVAST, potentially with DLLs not linked

check_gradient

Whether to check the gradients of the reloaded model

Value

Output from tinyVAST with DLLs relinked


tinyVAST documentation built on April 4, 2025, 2:43 a.m.