フィルターのクリア

Weight restriction during training neural network

1 回表示 (過去 30 日間)
soepblik
soepblik 2021 年 3 月 24 日
回答済み: Srivardhan Gadila 2021 年 3 月 28 日
Is it possible to set a maximum weight magnitude during training a neural network?
And how can i implement this if this is possible?

回答 (1 件)

Srivardhan Gadila
Srivardhan Gadila 2021 年 3 月 28 日
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.

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by