Class Pad

java.lang.Object
ai.djl.modality.cv.transform.Pad
All Implemented Interfaces:
Transform

public class Pad extends Object implements Transform
A Transform that pad the image to square.
  • Constructor Details

    • Pad

      public Pad(double value)
      Constructs a new Pad instance.
      Parameters:
      value - the padding value
  • Method Details