Class MPSCNNArithmeticGradient

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol
Direct Known Subclasses:
MPSCNNAddGradient, MPSCNNMultiplyGradient, MPSCNNSubtractGradient

public class MPSCNNArithmeticGradient
extends MPSCNNGradientKernel
Since:
Available in iOS 11.3 and later.
  • Constructor Details

    • MPSCNNArithmeticGradient

      public MPSCNNArithmeticGradient()
    • MPSCNNArithmeticGradient

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

      protected MPSCNNArithmeticGradient​(NSObject.SkipInit skipInit)
    • MPSCNNArithmeticGradient

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

      public MPSCNNArithmeticGradient​(NSCoder coder)
  • Method Details

    • getPrimaryScale

      public float getPrimaryScale()
    • setPrimaryScale

      public void setPrimaryScale​(float v)
    • getSecondaryScale

      public float getSecondaryScale()
    • setSecondaryScale

      public void setSecondaryScale​(float v)
    • getBias

      public float getBias()
    • setBias

      public void setBias​(float v)
    • getSecondaryStrideInFeatureChannels

      public long getSecondaryStrideInFeatureChannels()
    • setSecondaryStrideInFeatureChannels

      public void setSecondaryStrideInFeatureChannels​(long v)
    • getMinimumValue

      public float getMinimumValue()
    • setMinimumValue

      public void setMinimumValue​(float v)
    • getMaximumValue

      public float getMaximumValue()
    • setMaximumValue

      public void setMaximumValue​(float v)
    • isSecondarySourceFilter

      public boolean isSecondarySourceFilter()
    • supportsSecureCoding

      public static boolean supportsSecureCoding()