Class MPSNNCompare

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class MPSNNCompare
extends MPSCNNArithmetic
Since:
Available in iOS 12.1 and later.
  • Constructor Details

    • MPSNNCompare

      public MPSNNCompare()
    • MPSNNCompare

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

      protected MPSNNCompare​(NSObject.SkipInit skipInit)
    • MPSNNCompare

      public MPSNNCompare​(MTLDevice device)
    • MPSNNCompare

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

      public MPSNNCompare​(NSCoder coder)
  • Method Details

    • getComparisonType

      public MPSNNComparisonType getComparisonType()
    • setComparisonType

      public void setComparisonType​(MPSNNComparisonType v)
    • getThreshold

      public float getThreshold()
    • setThreshold

      public void setThreshold​(float v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(MTLDevice device)
      Overrides:
      init in class MPSCNNBinaryKernel