Class MPSMatrixUnaryKernel

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol
Direct Known Subclasses:
MPSMatrixBatchNormalization, MPSMatrixDecompositionCholesky, MPSMatrixDecompositionLU, MPSMatrixFindTopK, MPSMatrixNeuron, MPSMatrixSoftMax

public class MPSMatrixUnaryKernel
extends MPSKernel
Since:
Available in iOS 11.0 and later.
  • Constructor Details

    • MPSMatrixUnaryKernel

      public MPSMatrixUnaryKernel()
    • MPSMatrixUnaryKernel

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

      protected MPSMatrixUnaryKernel​(NSObject.SkipInit skipInit)
    • MPSMatrixUnaryKernel

      public MPSMatrixUnaryKernel​(MTLDevice device)
    • MPSMatrixUnaryKernel

      public MPSMatrixUnaryKernel​(NSCoder coder)
    • MPSMatrixUnaryKernel

      public MPSMatrixUnaryKernel​(NSCoder decoder, MTLDevice device)
      Since:
      Available in iOS 11.0 and later.
  • Method Details

    • getSourceMatrixOrigin

      public MTLOrigin getSourceMatrixOrigin()
    • setSourceMatrixOrigin

      public void setSourceMatrixOrigin​(MTLOrigin v)
    • getResultMatrixOrigin

      public MTLOrigin getResultMatrixOrigin()
    • setResultMatrixOrigin

      public void setResultMatrixOrigin​(MTLOrigin v)
    • getBatchStart

      public long getBatchStart()
    • setBatchStart

      public void setBatchStart​(long v)
    • getBatchSize

      public long getBatchSize()
    • setBatchSize

      public void setBatchSize​(long v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()