Class MPSNNReduceBinary

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol
Direct Known Subclasses:
MPSNNLocalCorrelation, MPSNNReduceFeatureChannelsAndWeightsMean, MPSNNReduceFeatureChannelsAndWeightsSum

public class MPSNNReduceBinary
extends MPSCNNBinaryKernel
Since:
Available in iOS 11.3 and later.
  • Constructor Details

    • MPSNNReduceBinary

      public MPSNNReduceBinary()
    • MPSNNReduceBinary

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

      protected MPSNNReduceBinary​(NSObject.SkipInit skipInit)
    • MPSNNReduceBinary

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

      public MPSNNReduceBinary​(NSCoder coder)
  • Method Details

    • getPrimarySourceClipRect

      public MTLRegion getPrimarySourceClipRect()
    • setPrimarySourceClipRect

      public void setPrimarySourceClipRect​(MTLRegion v)
    • getSecondarySourceClipRect

      public MTLRegion getSecondarySourceClipRect()
    • setSecondarySourceClipRect

      public void setSecondarySourceClipRect​(MTLRegion v)
    • getPrimaryOffset

      @Deprecated public MPSOffset getPrimaryOffset()
      Deprecated.
      Deprecated in iOS 13.0. Use Please use primarySourceClipRect property instead
      Overrides:
      getPrimaryOffset in class MPSCNNBinaryKernel
      Since:
      Available in iOS 11.3 and later.
    • setPrimaryOffset

      @Deprecated public void setPrimaryOffset​(MPSOffset v)
      Deprecated.
      Deprecated in iOS 13.0. Use Please use primarySourceClipRect property instead
      Overrides:
      setPrimaryOffset in class MPSCNNBinaryKernel
      Since:
      Available in iOS 11.3 and later.
    • getSecondaryOffset

      @Deprecated public MPSOffset getSecondaryOffset()
      Deprecated.
      Deprecated in iOS 13.0. Use Please use secondarySourceClipRect property instead
      Overrides:
      getSecondaryOffset in class MPSCNNBinaryKernel
      Since:
      Available in iOS 11.3 and later.
    • setSecondaryOffset

      @Deprecated public void setSecondaryOffset​(MPSOffset v)
      Deprecated.
      Deprecated in iOS 13.0. Use Please use secondarySourceClipRect property instead
      Overrides:
      setSecondaryOffset in class MPSCNNBinaryKernel
      Since:
      Available in iOS 11.3 and later.
    • supportsSecureCoding

      public static boolean supportsSecureCoding()