Convolution..::..AvgPool3D Method

Average pooling operation for 3D data (spatial or spatio-temporal).

Namespace:  SiaNet.NN
Assembly:  SiaNet (in SiaNet.dll)

Syntax


public static Function AvgPool3D(
	Variable layer,
	Tuple<int, int, int> poolSize,
	Tuple<int, int, int> strides,
	bool padding
)
Public Shared Function AvgPool3D ( _
	layer As Variable, _
	poolSize As Tuple(Of Integer, Integer, Integer), _
	strides As Tuple(Of Integer, Integer, Integer), _
	padding As Boolean _
) As Function
public:
static Function^ AvgPool3D(
	Variable^ layer, 
	Tuple<int^, int^, int^>^ poolSize, 
	Tuple<int^, int^, int^>^ strides, 
	bool^ padding
)

Parameters

layer
Type: Variable
The output of the last layer.
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.

Return Value