Filter löschen
Filter löschen

Weight restriction during training neural network

1 Ansicht (letzte 30 Tage)
soepblik
soepblik am 24 Mär. 2021
Beantwortet: Srivardhan Gadila am 28 Mär. 2021
Is it possible to set a maximum weight magnitude during training a neural network?
And how can i implement this if this is possible?

Antworten (1)

Srivardhan Gadila
Srivardhan Gadila am 28 Mär. 2021
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.

Kategorien

Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by