Description Usage Arguments Value
In some situations absolute weight index (i.e. index within all weights including inactive ones) needs to be computed based on information about connected neurons' indices or weight index within actives ones. The latter functionality is especially useful in implementation of pruning algorithms.
1 2 3 | mlp_get_w_idx(net, layer, nidx, nplidx)
mlp_get_w_abs_idx(net, idx)
|
net |
an object of |
layer |
integer value (vector), layer index |
nidx |
integer value (vector), neuron index |
nplidx |
integer value (vector), index of the neuron in the previous
layer determining connection from neuron |
idx |
integer value (vector), weight index (indices) within active ones |
Absolute weight index.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.