| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Neural Network Toolbox |
| Contents | Index |
Layer-by-layer network initialization function
initlay is a network initialization function that initializes each layer i according to its own initialization function net.layers{i}.initFcn.
| net |
Neural network |
and returns the network with each layer updated. initlay(code) returns useful information for each code string:
| 'pnames' |
Names of initialization parameters |
| 'pdefaults' |
Default initialization parameters |
initlay does not have any initialization parameters.
You can create a standard network that uses initlay by calling newp, newlin, newff, newcf, and many other new network functions.
To prepare a custom network to be initialized with initlay,
To initialize the network, call init. See newp and newlin for initialization examples.
The weights and biases of each layer i are initialized according to net.layers{i}.initFcn.
| Provide feedback about this page |
![]() | initcon | initnw | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |