Class AvgPool2dLayer
java.lang.Object
smile.deep.layer.AvgPool2dLayer
-
Constructor Details
-
AvgPool2dLayer
public AvgPool2dLayer(int kernel) Constructor.- Parameters:
kernel- the window/kernel size.
-
AvgPool2dLayer
public AvgPool2dLayer(int height, int width) Constructor.- Parameters:
height- the window/kernel height.width- the window/kernel width.
-
-
Method Details
-
asTorch
-
forward
-