Class MPSCNNNeuronLinear

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class MPSCNNNeuronLinear
extends MPSCNNNeuron
Since:
Available in iOS 10.0 and later.
  • Constructor Details

    • MPSCNNNeuronLinear

      public MPSCNNNeuronLinear()
    • MPSCNNNeuronLinear

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

      protected MPSCNNNeuronLinear​(NSObject.SkipInit skipInit)
    • MPSCNNNeuronLinear

      @Deprecated public MPSCNNNeuronLinear​(MTLDevice device, float a, float b)
      Deprecated.
      Deprecated in iOS 12.0. Use Please use MPSCNNNeuron initWithDevice:neuronDescriptor.
      Since:
      Available in iOS 10.0 and later.
    • MPSCNNNeuronLinear

      public MPSCNNNeuronLinear​(MTLDevice device, MPSNNNeuronDescriptor neuronDescriptor)
      Since:
      Available in iOS 11.3 and later.
    • MPSCNNNeuronLinear

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

      public MPSCNNNeuronLinear​(NSCoder coder)
  • Method Details

    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      @Deprecated protected long init​(MTLDevice device, float a, float b)
      Deprecated.
      Deprecated in iOS 12.0. Use Please use MPSCNNNeuron initWithDevice:neuronDescriptor.
      Since:
      Available in iOS 10.0 and later.