Class MPSNNGradientState

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol
Direct Known Subclasses:
MPSCNNBatchNormalizationState, MPSCNNConvolutionGradientState, MPSCNNDropoutGradientState, MPSCNNGroupNormalizationGradientState, MPSCNNInstanceNormalizationGradientState

public class MPSNNGradientState
extends MPSState
Since:
Available in iOS 11.3 and later.
  • Constructor Details

    • MPSNNGradientState

      protected MPSNNGradientState()
    • MPSNNGradientState

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

      protected MPSNNGradientState​(NSObject.SkipInit skipInit)
    • MPSNNGradientState

      public MPSNNGradientState​(MTLDevice device, long bufferSize)
    • MPSNNGradientState

      public MPSNNGradientState​(MTLDevice device, MTLTextureDescriptor descriptor)
    • MPSNNGradientState

      public MPSNNGradientState​(MTLResource resource)
    • MPSNNGradientState

      public MPSNNGradientState​(MTLDevice device, MPSStateResourceList resourceList)
      Since:
      Available in iOS 11.3 and later.
    • MPSNNGradientState

      public MPSNNGradientState​(NSArray<?> resources)