set strictly positive initial weights

Hi, I've created a custom neural network and have set the initialization function to "initnw" in every layer, which set some weights randomly to a negative value.
is there a way to set all the initial weights to positive values ?
Thanks.

Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 1 Dez. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by