Description Usage Arguments See Also
Create maximum pooling layer.
1 2 | nnlayer_pool(layer, kernelshape, inputshape, name, inputname, stride, lowerpad,
mapcount, activation = NA)
|
layer |
A layer object, e.g. using |
kernelshape |
Numeric vector describing the number of inputs in each dimension, e.g. |
inputshape |
Numeric vector describing the number of inputs in each dimension, e.g. |
name |
Name of the layer |
inputname |
Name of the preceding layer. If |
stride |
Numeric vector describing the number of inputs in each dimension, e.g. |
lowerpad |
Numeric vector describing the number of inputs in each dimension, e.g. |
mapcount |
Number of maps to create. |
activation |
Activation function, e.g. |
Other layer.definition.functions: nnlayer_conv
,
nnlayer_full
, nnlayer_input
,
nnlayer_norm
, nnlayer_output
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.