Description Usage Arguments Value Examples
Layer
encapsulates all the data needed for a fully connected layer.
1 2 |
activation |
function for neural network. Must be able to do elementwise
calculations on a matrix and have the parameter |
minibatchSize |
Number of samples used for estimating the gradient |
sizeP |
vector of two values, number of inputs to this layer and number of outputs from this layer, ignoring bias values. |
is_input |
boolean indicating whether this is an input |
is_output |
boolean indicating whether this is output |
initPos |
boolean indicating whether weights should be initialized as positive |
initScale |
scalar for initialising wieghts, e.g. if it is 100, then the randomly sampled initial weights are scaled by 1/100. |
environment with the functions to set all the internal matricies and a function to forward propagate through the layer.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.