reload_model function

Reload a previously fitted model

Reload a previously fitted model

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.

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

Returns

Output from tinyVAST with DLLs relinked

  • Maintainer: James T. Thorson
  • License: GPL-3
  • Last published: 2025-03-21