Class MPSNNCropAndResizeBilinear

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class MPSNNCropAndResizeBilinear
extends MPSCNNKernel
Since:
Available in iOS 12.0 and later.
  • Constructor Details

    • MPSNNCropAndResizeBilinear

      public MPSNNCropAndResizeBilinear()
    • MPSNNCropAndResizeBilinear

      protected MPSNNCropAndResizeBilinear​(NSObject.Handle h, long handle)
    • MPSNNCropAndResizeBilinear

      protected MPSNNCropAndResizeBilinear​(NSObject.SkipInit skipInit)
    • MPSNNCropAndResizeBilinear

      public MPSNNCropAndResizeBilinear​(MTLDevice device, long resizeWidth, long resizeHeight, long numberOfRegions, MPSRegion regions)
    • MPSNNCropAndResizeBilinear

      public MPSNNCropAndResizeBilinear​(NSCoder decoder, MTLDevice device)
    • MPSNNCropAndResizeBilinear

      public MPSNNCropAndResizeBilinear​(NSCoder coder)
  • Method Details

    • getResizeWidth

      public long getResizeWidth()
    • getResizeHeight

      public long getResizeHeight()
    • getNumberOfRegions

      public long getNumberOfRegions()
    • getRegions

      public MPSRegion getRegions()
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(MTLDevice device, long resizeWidth, long resizeHeight, long numberOfRegions, MPSRegion regions)
    • init

      protected long init​(NSCoder decoder, MTLDevice device)
      Overrides:
      init in class MPSCNNKernel