Package org.robovm.apple.metalps
Class MPSNNCompare
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,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 classMPSNNCompare.MPSNNComparePtrNested classes/interfaces inherited from class org.robovm.apple.metalps.MPSCNNArithmetic
MPSCNNArithmetic.MPSCNNArithmeticPtrNested classes/interfaces inherited from class org.robovm.apple.metalps.MPSCNNBinaryKernel
MPSCNNBinaryKernel.MPSCNNBinaryKernelPtrNested classes/interfaces inherited from class org.robovm.apple.metalps.MPSKernel
MPSKernel.MPSKernelPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description MPSNNCompare()MPSNNCompare(NSCoder coder)MPSNNCompare(NSCoder decoder, MTLDevice device)protectedMPSNNCompare(NSObject.Handle h, long handle)protectedMPSNNCompare(NSObject.SkipInit skipInit)MPSNNCompare(MTLDevice device) -
Method Summary
Modifier and Type Method Description MPSNNComparisonTypegetComparisonType()floatgetThreshold()protected longinit(MTLDevice device)voidsetComparisonType(MPSNNComparisonType v)voidsetThreshold(float v)static booleansupportsSecureCoding()Methods inherited from class org.robovm.apple.metalps.MPSCNNArithmetic
encode, encodeBatch, getBias, getMaximumValue, getMinimumValue, getPrimaryScale, getPrimaryStrideInFeatureChannels, getSecondaryScale, getSecondaryStrideInFeatureChannels, setBias, setMaximumValue, setMinimumValue, setPrimaryScale, setPrimaryStrideInFeatureChannels, setSecondaryScale, setSecondaryStrideInFeatureChannelsMethods inherited from class org.robovm.apple.metalps.MPSCNNBinaryKernel
appendBatchBarrier, batchEncodingStorageSize, encode, encode, encode, encodeBatch, encodeBatch, encodeBatch, encodingStorageSize, 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, setSecondaryStrideInPixelsYMethods inherited from class org.robovm.apple.metalps.MPSKernel
copy, encode, getDevice, getLabel, getOptions, init, setLabel, setOptionsMethods 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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
MPSNNCompare
public MPSNNCompare() -
MPSNNCompare
-
MPSNNCompare
-
MPSNNCompare
-
MPSNNCompare
-
MPSNNCompare
-
-
Method Details
-
getComparisonType
-
setComparisonType
-
getThreshold
public float getThreshold() -
setThreshold
public void setThreshold(float v) -
supportsSecureCoding
public static boolean supportsSecureCoding() -
init
- Overrides:
initin classMPSCNNBinaryKernel
-