Class MPSNNReduceFeatureChannelsSum

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class MPSNNReduceFeatureChannelsSum
extends MPSNNReduceUnary
Since:
Available in iOS 11.3 and later.
  • Constructor Details

    • MPSNNReduceFeatureChannelsSum

      public MPSNNReduceFeatureChannelsSum()
    • MPSNNReduceFeatureChannelsSum

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

      protected MPSNNReduceFeatureChannelsSum​(NSObject.SkipInit skipInit)
    • MPSNNReduceFeatureChannelsSum

      public MPSNNReduceFeatureChannelsSum​(MTLDevice device)
    • MPSNNReduceFeatureChannelsSum

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

      public MPSNNReduceFeatureChannelsSum​(NSCoder coder)
  • Method Details

    • getWeight

      public float getWeight()
    • setWeight

      public void setWeight​(float v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

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

      protected long init​(NSCoder decoder, MTLDevice device)
      Overrides:
      init in class MPSCNNKernel