Weight restriction during training neural network

Is it possible to set a maximum weight magnitude during training a neural network?
And how can i implement this if this is possible?

Respuestas (1)

Srivardhan Gadila
Srivardhan Gadila el 28 de Mzo. de 2021

0 votos

You can create a dlnetwork and train the network using Custom Training Loop.
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.

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Productos

Versión

R2020b

Preguntada:

el 24 de Mzo. de 2021

Respondida:

el 28 de Mzo. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by