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.

Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 1 Dec 2016

Community Treasure Hunt

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

Start Hunting!