MaxPool2D Properties

The MaxPool2D type exposes the following members.

Properties


  Name Description
Public property Name
Gets or sets the name of the network layer
(Inherited from LayerConfig.)
Public property Padding
Boolean, if true results in padding the input such that the output has the same length as the original input.
Public property Params
Gets or sets the parameters.
(Inherited from LayerConfig.)
Public property PoolSize
integer or tuple of 2 integers, factors by which to downscale (vertical, horizontal). (2, 2) will halve the input in both spatial dimension. If only one integer is specified, the same window length will be used for both dimensions.
Public property Strides
Integer, tuple of 2 integers, or None. Strides values. If None, it will default to pool_size.