I am trying to understand the inner workings of MATLAB's "trainnet" function. Specifically, I need the following information:
Does "trainnet" operate on a copy of the network provided via the training options and only return the final trained network at the end of the training process?
Or is there a way to access and save the current state of the network during training (for example, after each epoch or according to custom output function)?
Any insights, explanations, or documentation references that clarify how MATLAB manages the network state during training would be greatly appreciated.
Thanks in advance!