Class MLCReductionLayer

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class MLCReductionLayer
extends MLCLayer
Since:
Available in iOS 14.0 and later.
  • Constructor Details

    • MLCReductionLayer

      protected MLCReductionLayer()
    • MLCReductionLayer

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

      protected MLCReductionLayer​(NSObject.SkipInit skipInit)
    • MLCReductionLayer

      public MLCReductionLayer​(MLCReductionType reductionType, long dimension)
    • MLCReductionLayer

      public MLCReductionLayer​(MLCReductionType reductionType, NSArray<NSNumber> dimensions)
      Since:
      Available in iOS 14.5 and later.
  • Method Details

    • getReductionType

      public MLCReductionType getReductionType()
    • getDimension

      public long getDimension()
    • getDimensions

      public NSArray<NSNumber> getDimensions()
      Since:
      Available in iOS 14.5 and later.
    • create

      protected static long create​(MLCReductionType reductionType, long dimension)
    • create

      protected static long create​(MLCReductionType reductionType, NSArray<NSNumber> dimensions)
      Since:
      Available in iOS 14.5 and later.
    • supportsDataType

      public static boolean supportsDataType​(MLCDataType dataType, MLCDevice device)