Class MPSCNNYOLOLossDescriptor

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class MPSCNNYOLOLossDescriptor
extends NSObject
Since:
Available in iOS 12.0 and later.
  • Constructor Details

  • Method Details

    • getXYLossDescriptor

      public MPSCNNLossDescriptor getXYLossDescriptor()
    • setXYLossDescriptor

      public void setXYLossDescriptor​(MPSCNNLossDescriptor v)
    • getWHLossDescriptor

      public MPSCNNLossDescriptor getWHLossDescriptor()
    • setWHLossDescriptor

      public void setWHLossDescriptor​(MPSCNNLossDescriptor v)
    • getConfidenceLossDescriptor

      public MPSCNNLossDescriptor getConfidenceLossDescriptor()
    • setConfidenceLossDescriptor

      public void setConfidenceLossDescriptor​(MPSCNNLossDescriptor v)
    • getClassesLossDescriptor

      public MPSCNNLossDescriptor getClassesLossDescriptor()
    • setClassesLossDescriptor

      public void setClassesLossDescriptor​(MPSCNNLossDescriptor v)
    • getReductionType

      public MPSCNNReductionType getReductionType()
    • setReductionType

      public void setReductionType​(MPSCNNReductionType v)
    • isReduceAcrossBatch

      public boolean isReduceAcrossBatch()
      Since:
      Available in iOS 14.0 and later.
    • setReduceAcrossBatch

      public void setReduceAcrossBatch​(boolean v)
      Since:
      Available in iOS 14.0 and later.
    • isRescore

      public boolean isRescore()
    • setRescore

      public void setRescore​(boolean v)
    • getScaleXY

      public float getScaleXY()
    • setScaleXY

      public void setScaleXY​(float v)
    • getScaleWH

      public float getScaleWH()
    • setScaleWH

      public void setScaleWH​(float v)
    • getScaleNoObject

      public float getScaleNoObject()
    • setScaleNoObject

      public void setScaleNoObject​(float v)
    • getScaleObject

      public float getScaleObject()
    • setScaleObject

      public void setScaleObject​(float v)
    • getScaleClass

      public float getScaleClass()
    • setScaleClass

      public void setScaleClass​(float v)
    • getMinIOUForObjectPresence

      public float getMinIOUForObjectPresence()
    • setMinIOUForObjectPresence

      public void setMinIOUForObjectPresence​(float v)
    • getMaxIOUForObjectAbsence

      public float getMaxIOUForObjectAbsence()
    • setMaxIOUForObjectAbsence

      public void setMaxIOUForObjectAbsence​(float v)
    • getNumberOfAnchorBoxes

      public long getNumberOfAnchorBoxes()
    • setNumberOfAnchorBoxes

      public void setNumberOfAnchorBoxes​(long v)
    • getAnchorBoxes

      public NSData getAnchorBoxes()
    • setAnchorBoxes

      public void setAnchorBoxes​(NSData v)
    • create

      protected static long create​(MPSCNNLossType XYLossType, MPSCNNLossType WHLossType, MPSCNNLossType confidenceLossType, MPSCNNLossType classesLossType, MPSCNNReductionType reductionType, NSData anchorBoxes, long numberOfAnchorBoxes)