Class AdaptiveAvgPool2dLayer
java.lang.Object
smile.deep.layer.AdaptiveAvgPool2dLayer
-
Constructor Summary
ConstructorsConstructorDescriptionAdaptiveAvgPool2dLayer(int size) Constructor.AdaptiveAvgPool2dLayer(int height, int width) Constructor. -
Method Summary
-
Constructor Details
-
AdaptiveAvgPool2dLayer
public AdaptiveAvgPool2dLayer(int size) Constructor.- Parameters:
size- the output size.
-
AdaptiveAvgPool2dLayer
public AdaptiveAvgPool2dLayer(int height, int width) Constructor.- Parameters:
height- the output height.width- the output width.
-
-
Method Details
-
asTorch
-
forward
-