Package org.robovm.apple.metalps
Class MPSNNBinaryArithmeticNode
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.metalps.MPSNNFilterNode
-
- org.robovm.apple.metalps.MPSNNBinaryArithmeticNode
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
MPSNNAdditionNode
,MPSNNComparisonNode
,MPSNNDivisionNode
,MPSNNMultiplicationNode
,MPSNNSubtractionNode
public class MPSNNBinaryArithmeticNode extends MPSNNFilterNode
- Since:
- Available in iOS 11.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPSNNBinaryArithmeticNode.MPSNNBinaryArithmeticNodePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSNNFilterNode
MPSNNFilterNode.MPSNNFilterNodePtr
-
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
MPSNNBinaryArithmeticNode()
MPSNNBinaryArithmeticNode(NSArray<MPSNNImageNode> sourceNodes)
protected
MPSNNBinaryArithmeticNode(NSObject.Handle h, long handle)
protected
MPSNNBinaryArithmeticNode(NSObject.SkipInit skipInit)
MPSNNBinaryArithmeticNode(MPSNNImageNode left, MPSNNImageNode right)
-
Method Summary
-
Methods inherited from class org.robovm.apple.metalps.MPSNNFilterNode
getLabel, getPaddingPolicy, getResultImage, getResultState, getResultStates, gradientFilter, gradientFilter, gradientFilters, setLabel, setPaddingPolicy, trainingGraph
-
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
-
MPSNNBinaryArithmeticNode
protected MPSNNBinaryArithmeticNode()
-
MPSNNBinaryArithmeticNode
protected MPSNNBinaryArithmeticNode(NSObject.Handle h, long handle)
-
MPSNNBinaryArithmeticNode
protected MPSNNBinaryArithmeticNode(NSObject.SkipInit skipInit)
-
MPSNNBinaryArithmeticNode
public MPSNNBinaryArithmeticNode(NSArray<MPSNNImageNode> sourceNodes)
-
MPSNNBinaryArithmeticNode
public MPSNNBinaryArithmeticNode(MPSNNImageNode left, MPSNNImageNode right)
-
-
Method Detail
-
getPrimaryScale
public float getPrimaryScale()
-
setPrimaryScale
public void setPrimaryScale(float v)
-
getSecondaryScale
public float getSecondaryScale()
-
setSecondaryScale
public void setSecondaryScale(float v)
-
getBias
public float getBias()
-
setBias
public void setBias(float v)
-
getPrimaryStrideInPixelsX
public long getPrimaryStrideInPixelsX()
-
setPrimaryStrideInPixelsX
public void setPrimaryStrideInPixelsX(long v)
-
getPrimaryStrideInPixelsY
public long getPrimaryStrideInPixelsY()
-
setPrimaryStrideInPixelsY
public void setPrimaryStrideInPixelsY(long v)
-
getPrimaryStrideInFeatureChannels
public long getPrimaryStrideInFeatureChannels()
-
setPrimaryStrideInFeatureChannels
public void setPrimaryStrideInFeatureChannels(long v)
-
getSecondaryStrideInPixelsX
public long getSecondaryStrideInPixelsX()
-
setSecondaryStrideInPixelsX
public void setSecondaryStrideInPixelsX(long v)
-
getSecondaryStrideInPixelsY
public long getSecondaryStrideInPixelsY()
-
setSecondaryStrideInPixelsY
public void setSecondaryStrideInPixelsY(long v)
-
getSecondaryStrideInFeatureChannels
public long getSecondaryStrideInFeatureChannels()
-
setSecondaryStrideInFeatureChannels
public void setSecondaryStrideInFeatureChannels(long v)
-
getMinimumValue
public float getMinimumValue()
-
setMinimumValue
public void setMinimumValue(float v)
-
getMaximumValue
public float getMaximumValue()
-
setMaximumValue
public void setMaximumValue(float v)
-
init
protected long init(NSArray<MPSNNImageNode> sourceNodes)
-
init
protected long init(MPSNNImageNode left, MPSNNImageNode right)
-
gradientClass
public java.lang.Class<?> gradientClass()
-
gradientFilters
public NSArray<MPSNNGradientFilterNode> gradientFilters(NSArray<MPSNNImageNode> gradientImages)
- Overrides:
gradientFilters
in classMPSNNFilterNode
- Since:
- Available in iOS 11.3 and later.
-
-