blob: fef34ed77dff9bb889c63b2b62138f5bae1fd078 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
<html>
<head>
<title>
Netlab Reference Manual netunpak
</title>
</head>
<body>
<H1> netunpak
</H1>
<h2>
Purpose
</h2>
Separates weights vector into weight and bias matrices.
<p><h2>
Synopsis
</h2>
<PRE>
net = netunpak(net, w)
</PRE>
<p><h2>
Description
</h2>
<CODE>net = netunpak(net, w)</CODE> takes an net network data structure <CODE>net</CODE> and
a weight vector <CODE>w</CODE>, 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 <CODE>w</CODE>. If there is
a <CODE>mask</CODE> field in the <CODE>net</CODE> data structure, then the weights in
<CODE>w</CODE> are placed in locations corresponding to non-zero entries in the
mask (so <CODE>w</CODE> should have the same length as the number of non-zero
entries in the <CODE>mask</CODE>).
<p><h2>
See Also
</h2>
<CODE><a href="netpak.htm">netpak</a></CODE>, <CODE><a href="netfwd.htm">netfwd</a></CODE>, <CODE><a href="neterr.htm">neterr</a></CODE>, <CODE><a href="netgrad.htm">netgrad</a></CODE><hr>
<b>Pages:</b>
<a href="index.htm">Index</a>
<hr>
<p>Copyright (c) Ian T Nabney (1996-9)
</body>
</html>
|