Class AvgPool2d

java.lang.Object
ai.beestream.jitnn.nn.Module
ai.beestream.jitnn.nn.AvgPool2d
All Implemented Interfaces:
AutoCloseable

public final class AvgPool2d extends Module
Average pooling; padding counts in the divisor, as PyTorch's default.
  • Constructor Details

    • AvgPool2d

      public AvgPool2d(int kernel)
      Pools non-overlapping kernel x kernel windows (stride kernel, no padding).
    • AvgPool2d

      public AvgPool2d(int kernel, int stride, int padding)
      Pools kernel x kernel windows with the given stride and padding.
  • Method Details