AvgPool3D Constructor (Tuple<(Of <(<'Int32, Int32, Int32>)>)>, Tuple<(Of <(<'Int32, Int32, Int32>)>)>, Boolean)

Initializes a new instance of the AvgPool3D class.

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

Syntax


public AvgPool3D(
	Tuple<int, int, int> poolSize,
	Tuple<int, int, int> strides,
	bool padding
)
Public Sub New ( _
	poolSize As Tuple(Of Integer, Integer, Integer), _
	strides As Tuple(Of Integer, Integer, Integer), _
	padding As Boolean _
)
public:
AvgPool3D(
	Tuple<int^, int^, int^>^ poolSize, 
	Tuple<int^, int^, int^>^ strides, 
	bool^ padding
)

Parameters

poolSize
Type: Tuple<(Of <(<'Int32, Int32, Int32>)>)>
Tuple of 3 integers, factors by which to downscale (dim1, dim2, dim3). (2, 2, 2) will halve the size of the 3D input in each dimension.
strides
Type: Tuple<(Of <(<'Int32, Int32, Int32>)>)>
Tuple of 3 integers, or None. Strides values.
padding
Type: Boolean
Boolean, if true results in padding the input such that the output has the same length as the original input.