Neural Network Toolbox |
Form bias and weights into single vector
Syntax
Description
This function takes weight matrices and bias vectors for a network and reshapes them into a single vector.
X =
formx(net,B,IW,LW)
takes these arguments,
Examples
Here we create a network with a two-element input, and one layer of three neurons.
We can get view its weight matrices and bias vectors as follows:
We can put these values into a single vector as follows:
See Also
errsurf | gensim |
© 1994-2005 The MathWorks, Inc.