Weight restriction during training neural network
Show older comments
Is it possible to set a maximum weight magnitude during training a neural network?
And how can i implement this if this is possible?
Answers (1)
Srivardhan Gadila
on 28 Mar 2021
0 votes
Within the Model Gradients Function access the weights of the network by using the Learnables property of the dlnetwork and set a maximum weight magnitude accordingly.
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!