AvgPool1D Constructor (Int32, Int32, Boolean)
Initializes a new instance of the AvgPool1D class.
Namespace:
SiaNet.Model.LayersAssembly: SiaNet (in SiaNet.dll)
Syntax
Parameters
- poolSize
- Type: Int32
Integer, size of the max pooling windows.
- strides
- Type: Int32
Factor by which to downscale. E.g. 2 will halve the input. If None, it will default to pool_size.
- padding
- Type: Boolean
Boolean, if true results in padding the input such that the output has the same length as the original input.