Refresh weights of neural network without `Configure` function in MATLAB

1 view (last 30 days)
As you know we can use configure function in MATLAB to initial weights and biases but this function configure all networks (weights/biases + other properties). I want after configuring network using configure, have a loop and initial weights for 10 times and store these weights in a cell array to use it in another part of network. (Initial weights and biases based on initial function of network object)
Is any function to only refresh initial weights and biases without configuring it again and again to accelerate the speed?
Thanks.

Accepted Answer

Greg Heath
Greg Heath on 14 Sep 2014
Use the init function
init(net);
Hope this helps
Thank you for formally accepting my answer
Greg

More Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!