net = netunpak(net, w)
net = netunpak(net, w)
takes an net network data structure net
and
a weight vector w
, and returns a network data structure identical to
the input network, except that the componenet weight matrices have all
been set to the corresponding elements of w
. If there is
a mask
field in the net
data structure, then the weights in
w
are placed in locations corresponding to non-zero entries in the
mask (so w
should have the same length as the number of non-zero
entries in the mask
).
netpak
, netfwd
, neterr
, netgrad
Copyright (c) Ian T Nabney (1996-9)