Package org.robovm.apple.metalps
Class MPSCNNLossDescriptor
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.metalps.MPSCNNLossDescriptor
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class MPSCNNLossDescriptor extends NSObject
- Since:
- Available in iOS 11.3 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPSCNNLossDescriptor.MPSCNNLossDescriptorPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MPSCNNLossDescriptor()
protected
MPSCNNLossDescriptor(NSObject.Handle h, long handle)
protected
MPSCNNLossDescriptor(NSObject.SkipInit skipInit)
MPSCNNLossDescriptor(MPSCNNLossType lossType, MPSCNNReductionType reductionType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static long
create(MPSCNNLossType lossType, MPSCNNReductionType reductionType)
float
getDelta()
float
getEpsilon()
float
getLabelSmoothing()
MPSCNNLossType
getLossType()
long
getNumberOfClasses()
MPSCNNReductionType
getReductionType()
float
getWeight()
void
setDelta(float v)
void
setEpsilon(float v)
void
setLabelSmoothing(float v)
void
setLossType(MPSCNNLossType v)
void
setNumberOfClasses(long v)
void
setReductionType(MPSCNNReductionType v)
void
setWeight(float v)
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
MPSCNNLossDescriptor
protected MPSCNNLossDescriptor()
-
MPSCNNLossDescriptor
protected MPSCNNLossDescriptor(NSObject.Handle h, long handle)
-
MPSCNNLossDescriptor
protected MPSCNNLossDescriptor(NSObject.SkipInit skipInit)
-
MPSCNNLossDescriptor
public MPSCNNLossDescriptor(MPSCNNLossType lossType, MPSCNNReductionType reductionType)
-
-
Method Detail
-
getLossType
public MPSCNNLossType getLossType()
-
setLossType
public void setLossType(MPSCNNLossType v)
-
getReductionType
public MPSCNNReductionType getReductionType()
-
setReductionType
public void setReductionType(MPSCNNReductionType v)
-
getWeight
public float getWeight()
-
setWeight
public void setWeight(float v)
-
getLabelSmoothing
public float getLabelSmoothing()
-
setLabelSmoothing
public void setLabelSmoothing(float v)
-
getNumberOfClasses
public long getNumberOfClasses()
-
setNumberOfClasses
public void setNumberOfClasses(long v)
-
getEpsilon
public float getEpsilon()
-
setEpsilon
public void setEpsilon(float v)
-
getDelta
public float getDelta()
-
setDelta
public void setDelta(float v)
-
create
protected static long create(MPSCNNLossType lossType, MPSCNNReductionType reductionType)
-
-