loadState
Loads the model's learned parameters (e.g., weights) from a serialized state.
Parameters
state
The KarlContainerState containing the previously saved model data.
Throws
Exception
if the state is invalid or incompatible with the model architecture.