Package org.robovm.apple.metalps
Class MPSNNArithmeticGradientNode
- 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.MPSNNGradientFilterNode
-
- org.robovm.apple.metalps.MPSNNArithmeticGradientNode
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
MPSNNAdditionGradientNode
,MPSNNMultiplicationGradientNode
,MPSNNSubtractionGradientNode
public class MPSNNArithmeticGradientNode extends MPSNNGradientFilterNode
- Since:
- Available in iOS 11.3 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPSNNArithmeticGradientNode.MPSNNArithmeticGradientNodePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSNNGradientFilterNode
MPSNNGradientFilterNode.MPSNNGradientFilterNodePtr
-
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
MPSNNArithmeticGradientNode()
MPSNNArithmeticGradientNode(NSArray<MPSNNImageNode> gradientImages, MPSNNFilterNode filter, boolean isSecondarySourceFilter)
protected
MPSNNArithmeticGradientNode(NSObject.Handle h, long handle)
protected
MPSNNArithmeticGradientNode(NSObject.SkipInit skipInit)
MPSNNArithmeticGradientNode(MPSNNImageNode sourceGradient, MPSNNImageNode sourceImage, MPSNNBinaryGradientStateNode gradientState, boolean isSecondarySourceFilter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getBias()
float
getMaximumValue()
float
getMinimumValue()
float
getPrimaryScale()
float
getSecondaryScale()
long
getSecondaryStrideInFeatureChannels()
long
getSecondaryStrideInPixelsX()
long
getSecondaryStrideInPixelsY()
protected long
init(NSArray<MPSNNImageNode> gradientImages, MPSNNFilterNode filter, boolean isSecondarySourceFilter)
protected long
init(MPSNNImageNode sourceGradient, MPSNNImageNode sourceImage, MPSNNBinaryGradientStateNode gradientState, boolean isSecondarySourceFilter)
boolean
isSecondarySourceFilter()
void
setBias(float v)
void
setMaximumValue(float v)
void
setMinimumValue(float v)
void
setPrimaryScale(float v)
void
setSecondaryScale(float v)
void
setSecondaryStrideInFeatureChannels(long v)
void
setSecondaryStrideInPixelsX(long v)
void
setSecondaryStrideInPixelsY(long v)
-
Methods inherited from class org.robovm.apple.metalps.MPSNNFilterNode
getLabel, getPaddingPolicy, getResultImage, getResultState, getResultStates, gradientFilter, gradientFilter, gradientFilters, 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
-
MPSNNArithmeticGradientNode
protected MPSNNArithmeticGradientNode()
-
MPSNNArithmeticGradientNode
protected MPSNNArithmeticGradientNode(NSObject.Handle h, long handle)
-
MPSNNArithmeticGradientNode
protected MPSNNArithmeticGradientNode(NSObject.SkipInit skipInit)
-
MPSNNArithmeticGradientNode
public MPSNNArithmeticGradientNode(MPSNNImageNode sourceGradient, MPSNNImageNode sourceImage, MPSNNBinaryGradientStateNode gradientState, boolean isSecondarySourceFilter)
-
MPSNNArithmeticGradientNode
public MPSNNArithmeticGradientNode(NSArray<MPSNNImageNode> gradientImages, MPSNNFilterNode filter, boolean isSecondarySourceFilter)
-
-
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)
-
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)
-
isSecondarySourceFilter
public boolean isSecondarySourceFilter()
-
init
protected long init(MPSNNImageNode sourceGradient, MPSNNImageNode sourceImage, MPSNNBinaryGradientStateNode gradientState, boolean isSecondarySourceFilter)
-
init
protected long init(NSArray<MPSNNImageNode> gradientImages, MPSNNFilterNode filter, boolean isSecondarySourceFilter)
-
-