Global average pooling operation for spatial data.
Namespace:
SiaNet.NN
Assembly:
SiaNet (in SiaNet.dll)
public static Function GlobalAvgPool2D(
Variable layer
)
Public Shared Function GlobalAvgPool2D ( _
layer As Variable _
) As Function
public:
static Function^ GlobalAvgPool2D(
Variable^ layer
)
Parameters
- layer
- Type: Variable
The output of the last layer.
Return Value