Class AdaptiveAvgPool

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

public final class AdaptiveAvgPool extends Module
Adaptive average pooling to fixed output sizes (1 to 3 spatial axes), PyTorch's nn.AdaptiveAvgPool1d/2d/3d.
  • Constructor Details

    • AdaptiveAvgPool

      public AdaptiveAvgPool(int... out)
      Pools to the output sizes out, one per spatial axis.
  • Method Details