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.

Respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 1 de Dic. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by