| Neural Network Toolbox | |
| Provide feedback about this page |
All network weight and bias values as single vector
Syntax
Description
getx gets a network's weight and biases as a vector of values.
net |
Neural network |
X |
Vector of weight and bias values |
Examples
Here is a network with a two-element input and one layer of three neurons.
You can get its weight and bias values as follows:
Get these values as a single vector as follows:
See Also
| Provide feedback about this page |
![]() | gensim | gridtop | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |