set strictly positive initial weights

1 次查看(过去 30 天)
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.

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by