Class Upsample

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

public final class Upsample extends Module
Nearest or bilinear upsampling of NCHW by a scale factor, PyTorch's nn.Upsample.
  • Constructor Details

    • Upsample

      public Upsample(float scale, boolean bilinear, boolean alignCorners)
      Upsampling by scale, nearest or bilinear; alignCorners as in PyTorch (bilinear only).
  • Method Details