nnlayer_pool: Create maximum pooling layer.

Description Usage Arguments See Also

Description

Create maximum pooling layer.

Usage

1
2
nnlayer_pool(layer, kernelshape, inputshape, name, inputname, stride, lowerpad,
  mapcount, activation = NA)

Arguments

layer

A layer object, e.g. using nnlayer_input, or NULL

kernelshape

Numeric vector describing the number of inputs in each dimension, e.g. c(3, 15, 15)

inputshape

Numeric vector describing the number of inputs in each dimension, e.g. c(3, 15, 15). If layer is specified, this can be NULL.

name

Name of the layer

inputname

Name of the preceding layer. If layer is specified, this can be NULL.

stride

Numeric vector describing the number of inputs in each dimension, e.g. c(3, 15, 15).

lowerpad

Numeric vector describing the number of inputs in each dimension, e.g. c(3, 15, 15).

mapcount

Number of maps to create.

activation

Activation function, e.g. rlinear

See Also

Other layer.definition.functions: nnlayer_conv, nnlayer_full, nnlayer_input, nnlayer_norm, nnlayer_output


andrie/mxNeuralNetExtra documentation built on May 10, 2019, 11:19 a.m.