Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

formwb

Form bias and weights into single vector

Syntax

formwb(net,b,IW,LW)

Description

formwb(net,b,IW,LW) takes a neural network and bias b, input weight IW, and layer weight LW values, and combines the values into a single vector.

Examples

Here a network is created, configured, and its weights and biases formed into a vector.

[x,t] = simplefit_dataset;
net = feedforwardnet(10);
net = configure(net,x,t);
wb = formwb(net,net.b,net.IW,net.LW)

See Also

| |

Introduced in R2010b

Was this topic helpful?