Package org.robovm.apple.metalps
Class MPSNNCompare
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.metalps.MPSKernel
-
- org.robovm.apple.metalps.MPSCNNBinaryKernel
-
- org.robovm.apple.metalps.MPSCNNArithmetic
-
- org.robovm.apple.metalps.MPSNNCompare
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class MPSNNCompare extends MPSCNNArithmetic
- Since:
- Available in iOS 12.1 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPSNNCompare.MPSNNComparePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSCNNArithmetic
MPSCNNArithmetic.MPSCNNArithmeticPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSCNNBinaryKernel
MPSCNNBinaryKernel.MPSCNNBinaryKernelPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSKernel
MPSKernel.MPSKernelPtr
-
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 MPSNNCompare()
MPSNNCompare(NSCoder decoder)
MPSNNCompare(NSCoder decoder, MTLDevice device)
protected
MPSNNCompare(NSObject.Handle h, long handle)
protected
MPSNNCompare(NSObject.SkipInit skipInit)
MPSNNCompare(MTLDevice device)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MPSNNComparisonType
getComparisonType()
float
getThreshold()
protected long
init(MTLDevice device)
void
setComparisonType(MPSNNComparisonType v)
void
setThreshold(float v)
-
Methods inherited from class org.robovm.apple.metalps.MPSCNNArithmetic
encode, encodeBatch, getBias, getMaximumValue, getMinimumValue, getPrimaryScale, getPrimaryStrideInFeatureChannels, getSecondaryScale, getSecondaryStrideInFeatureChannels, setBias, setMaximumValue, setMinimumValue, setPrimaryScale, setPrimaryStrideInFeatureChannels, setSecondaryScale, setSecondaryStrideInFeatureChannels
-
Methods inherited from class org.robovm.apple.metalps.MPSCNNBinaryKernel
appendBatchBarrier, encode, encode, encode, encodeBatch, encodeBatch, encodeBatch, getClipRect, getDestinationFeatureChannelOffset, getDestinationImageAllocator, getDestinationImageDescriptor, getPadding, getPrimaryDilationRateX, getPrimaryDilationRateY, getPrimaryEdgeMode, getPrimaryKernelHeight, getPrimaryKernelWidth, getPrimaryOffset, getPrimarySourceFeatureChannelMaxCount, getPrimarySourceFeatureChannelOffset, getPrimaryStrideInPixelsX, getPrimaryStrideInPixelsY, getResultState, getResultStateBatch, getSecondaryDilationRateX, getSecondaryDilationRateY, getSecondaryEdgeMode, getSecondaryKernelHeight, getSecondaryKernelWidth, getSecondaryOffset, getSecondarySourceFeatureChannelMaxCount, getSecondarySourceFeatureChannelOffset, getSecondaryStrideInPixelsX, getSecondaryStrideInPixelsY, getTemporaryResultState, getTemporaryResultStateBatch, init, isBackwards, isResultStateReusedAcrossBatch, isStateModified, setClipRect, setDestinationFeatureChannelOffset, setDestinationImageAllocator, setPadding, setPrimaryEdgeMode, setPrimaryOffset, setPrimarySourceFeatureChannelMaxCount, setPrimarySourceFeatureChannelOffset, setPrimaryStrideInPixelsX, setPrimaryStrideInPixelsY, setSecondaryEdgeMode, setSecondaryOffset, setSecondarySourceFeatureChannelMaxCount, setSecondarySourceFeatureChannelOffset, setSecondaryStrideInPixelsX, setSecondaryStrideInPixelsY
-
Methods inherited from class org.robovm.apple.metalps.MPSKernel
copy, encode, getDevice, getLabel, getOptions, init, setLabel, setOptions, supportsSecureCoding
-
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
-
MPSNNCompare
public MPSNNCompare()
-
MPSNNCompare
protected MPSNNCompare(NSObject.Handle h, long handle)
-
MPSNNCompare
protected MPSNNCompare(NSObject.SkipInit skipInit)
-
MPSNNCompare
public MPSNNCompare(MTLDevice device)
-
MPSNNCompare
public MPSNNCompare(NSCoder decoder)
-
-
Method Detail
-
getComparisonType
public MPSNNComparisonType getComparisonType()
-
setComparisonType
public void setComparisonType(MPSNNComparisonType v)
-
getThreshold
public float getThreshold()
-
setThreshold
public void setThreshold(float v)
-
init
protected long init(MTLDevice device)
- Overrides:
init
in classMPSCNNBinaryKernel
-
-