reload
R2026bSyntax
Description
reload( reloads the PyTorch® model object from the stored model loading properties in
model)model. Use this function to restore the Python® model after terminating the Python environment, or to switch to a different model file while retaining the
existing data-transfer and function configuration settings.
Examples
Input Arguments
Version History
Introduced in R2026b
See Also
Functions
forward|addFunction|callFunction|export|importNetworkFromPyTorch|arrayToTorchTensor|torchTensorToArray