AvgPool1D Constructor (Int32, Int32, Boolean)

Initializes a new instance of the AvgPool1D class.

Namespace:  SiaNet.Model.Layers
Assembly:  SiaNet (in SiaNet.dll)

Syntax


public AvgPool1D(
	int poolSize,
	int strides,
	bool padding
)
Public Sub New ( _
	poolSize As Integer, _
	strides As Integer, _
	padding As Boolean _
)
public:
AvgPool1D(
	int^ poolSize, 
	int^ strides, 
	bool^ padding
)

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.