Class MPSRNNRecurrentMatrixState

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class MPSRNNRecurrentMatrixState
extends MPSState
Since:
Available in iOS 11.0 and later.
  • Constructor Details

    • MPSRNNRecurrentMatrixState

      protected MPSRNNRecurrentMatrixState()
    • MPSRNNRecurrentMatrixState

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

      protected MPSRNNRecurrentMatrixState​(NSObject.SkipInit skipInit)
    • MPSRNNRecurrentMatrixState

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

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

      public MPSRNNRecurrentMatrixState​(MTLResource resource)
    • MPSRNNRecurrentMatrixState

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

      public MPSRNNRecurrentMatrixState​(NSArray<?> resources)
  • Method Details

    • getRecurrentOutputMatrixForLayerIndex

      public MPSMatrix getRecurrentOutputMatrixForLayerIndex​(long layerIndex)
    • getMemoryCellMatrixForLayerIndex

      public MPSMatrix getMemoryCellMatrixForLayerIndex​(long layerIndex)