saveState

Retrieves the model's current learned parameters in a serializable format.

Return

A KarlContainerState object containing the model's data.