Convert a vector to an activation map
Organize network activation as 2d map.
vectorToActMap(v, nrow = 0, ncol = 0)
v |
the vector containing the activation pattern |
nrow |
number of rows the resulting matrices will have |
ncol |
number of columns the resulting matrices will have |
The input to this function is a vector containing in each row an activation
pattern/output of a neural network. This function reorganizes the vector to
a matrix. Normally, only the number of rows nrow
will be used.
a matrix containing the 2d reorganized input
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.