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?

답변 (1개)

Srivardhan Gadila
Srivardhan Gadila 2021년 3월 28일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품

릴리스

R2020b

질문:

2021년 3월 24일

답변:

2021년 3월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by