Class MLCLayer

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol
Direct Known Subclasses:
MLCActivationLayer, MLCArithmeticLayer, MLCBatchNormalizationLayer, MLCComparisonLayer, MLCConcatenationLayer, MLCConvolutionLayer, MLCDropoutLayer, MLCEmbeddingLayer, MLCFullyConnectedLayer, MLCGatherLayer, MLCGramMatrixLayer, MLCGroupNormalizationLayer, MLCInstanceNormalizationLayer, MLCLayerNormalizationLayer, MLCLossLayer, MLCLSTMLayer, MLCMatMulLayer, MLCMultiheadAttentionLayer, MLCPaddingLayer, MLCPoolingLayer, MLCReductionLayer, MLCReshapeLayer, MLCScatterLayer, MLCSelectionLayer, MLCSliceLayer, MLCSoftmaxLayer, MLCSplitLayer, MLCTransposeLayer, MLCUpsampleLayer

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

  • Method Details

    • getLayerID

      public long getLayerID()
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel​(String v)
    • isDebuggingEnabled

      public boolean isDebuggingEnabled()
    • setIsDebuggingEnabled

      public void setIsDebuggingEnabled​(boolean v)
    • getDeviceType

      public MLCDeviceType getDeviceType()
      Since:
      Available in iOS 15.0 and later.
    • supportsDataType

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