MATLAB: How to freeze specific weights of Neural network model
MATLABneural networkweights update
I need to set some specific weights before training, and keep these weights fixed during training
Best Answer
Hi Abdelwahab,
If you wish to assign those weights in the beginning and keep them as constant, you can set the ‘WeightLearnRateFactor’ property as 0 (which defines the learning rate for that layer)for those layers.
Best Answer