Class MPSNNNeuronDescriptor

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class MPSNNNeuronDescriptor
extends NSObject
implements NSSecureCoding
Since:
Available in iOS 11.3 and later.
  • Constructor Details

    • MPSNNNeuronDescriptor

      protected MPSNNNeuronDescriptor()
    • MPSNNNeuronDescriptor

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

      protected MPSNNNeuronDescriptor​(NSObject.SkipInit skipInit)
    • MPSNNNeuronDescriptor

      public MPSNNNeuronDescriptor​(MPSCNNNeuronType neuronType)
    • MPSNNNeuronDescriptor

      public MPSNNNeuronDescriptor​(MPSCNNNeuronType neuronType, float a)
    • MPSNNNeuronDescriptor

      public MPSNNNeuronDescriptor​(MPSCNNNeuronType neuronType, float a, float b)
    • MPSNNNeuronDescriptor

      public MPSNNNeuronDescriptor​(MPSCNNNeuronType neuronType, float a, float b, float c)
    • MPSNNNeuronDescriptor

      public MPSNNNeuronDescriptor​(NSData data, boolean noCopy)
    • MPSNNNeuronDescriptor

      public MPSNNNeuronDescriptor​(NSCoder coder)
  • Method Details

    • getNeuronType

      public MPSCNNNeuronType getNeuronType()
    • setNeuronType

      public void setNeuronType​(MPSCNNNeuronType v)
    • getA

      public float getA()
    • setA

      public void setA​(float v)
    • getB

      public float getB()
    • setB

      public void setB​(float v)
    • getC

      public float getC()
    • setC

      public void setC​(float v)
    • getData

      public NSData getData()
    • setData

      public void setData​(NSData v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • create

      protected static long create​(MPSCNNNeuronType neuronType)
    • create

      protected static long create​(MPSCNNNeuronType neuronType, float a)
    • create

      protected static long create​(MPSCNNNeuronType neuronType, float a, float b)
    • create

      protected static long create​(MPSCNNNeuronType neuronType, float a, float b, float c)
    • create

      protected static long create​(NSData data, boolean noCopy)
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding
    • init

      protected long init​(NSCoder coder)