public class MPSNNBinaryArithmeticNode extends MPSNNFilterNode
MPSNNFilterNode.Block_trainingGraphWithSourceGradientNodeHandlerNSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
MPSNNBinaryArithmeticNode(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static MPSNNBinaryArithmeticNode |
alloc() |
static MPSNNBinaryArithmeticNode |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
float |
bias() |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
org.moe.natj.objc.Class |
gradientClass() |
NSArray<? extends MPSNNGradientFilterNode> |
gradientFiltersWithSources(NSArray<? extends MPSNNImageNode> gradientImages)
create new arithmetic gradient nodes
|
static long |
hash_static() |
MPSNNBinaryArithmeticNode |
init() |
MPSNNBinaryArithmeticNode |
initWithLeftSourceRightSource(MPSNNImageNode left,
MPSNNImageNode right)
init an arithemtic node with two sources
|
MPSNNBinaryArithmeticNode |
initWithSources(NSArray<? extends MPSNNImageNode> sourceNodes)
init an arithemtic node with an array of sources
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
float |
maximumValue() |
float |
minimumValue() |
static MPSNNBinaryArithmeticNode |
new_objc() |
static MPSNNBinaryArithmeticNode |
nodeWithLeftSourceRightSource(MPSNNImageNode left,
MPSNNImageNode right)
create an autoreleased arithemtic node with two sources
|
static MPSNNBinaryArithmeticNode |
nodeWithSources(NSArray<? extends MPSNNImageNode> sourceNodes)
create an autoreleased arithemtic node with an array of sources
|
float |
primaryScale() |
long |
primaryStrideInFeatureChannels() |
long |
primaryStrideInPixelsX() |
long |
primaryStrideInPixelsY() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
float |
secondaryScale() |
long |
secondaryStrideInFeatureChannels() |
long |
secondaryStrideInPixelsX() |
long |
secondaryStrideInPixelsY() |
void |
setBias(float value) |
void |
setMaximumValue(float value) |
void |
setMinimumValue(float value) |
void |
setPrimaryScale(float value) |
void |
setPrimaryStrideInFeatureChannels(long value) |
void |
setPrimaryStrideInPixelsX(long value) |
void |
setPrimaryStrideInPixelsY(long value) |
void |
setSecondaryScale(float value) |
void |
setSecondaryStrideInFeatureChannels(long value) |
void |
setSecondaryStrideInPixelsX(long value) |
void |
setSecondaryStrideInPixelsY(long value) |
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static long |
version_static() |
gradientFiltersWithSource, gradientFilterWithSource, gradientFilterWithSources, label, paddingPolicy, resultImage, resultState, resultStates, setLabel, setPaddingPolicy, trainingGraphWithSourceGradientNodeHandleraccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected MPSNNBinaryArithmeticNode(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static MPSNNBinaryArithmeticNode alloc()
public static MPSNNBinaryArithmeticNode allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public MPSNNBinaryArithmeticNode init()
init in class MPSNNFilterNodepublic MPSNNBinaryArithmeticNode initWithLeftSourceRightSource(MPSNNImageNode left, MPSNNImageNode right)
left - the left operandright - the right operandpublic MPSNNBinaryArithmeticNode initWithSources(NSArray<? extends MPSNNImageNode> sourceNodes)
sourceNodes - A valid NSArray containing two sourcespublic static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static MPSNNBinaryArithmeticNode new_objc()
public static MPSNNBinaryArithmeticNode nodeWithLeftSourceRightSource(MPSNNImageNode left, MPSNNImageNode right)
left - the left operandright - the right operandpublic static MPSNNBinaryArithmeticNode nodeWithSources(NSArray<? extends MPSNNImageNode> sourceNodes)
sourceNodes - A valid NSArray containing two sourcespublic static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public float bias()
public org.moe.natj.objc.Class gradientClass()
public NSArray<? extends MPSNNGradientFilterNode> gradientFiltersWithSources(NSArray<? extends MPSNNImageNode> gradientImages)
Create two new arithmetic gradient nodes - one that computes the gradient for the primary source image and one that computes the gradient for the secondary sourcefrom the inference pass.
gradientFiltersWithSources in class MPSNNFilterNodepublic float maximumValue()
public float minimumValue()
public float primaryScale()
public long primaryStrideInFeatureChannels()
public long primaryStrideInPixelsX()
public long primaryStrideInPixelsY()
public float secondaryScale()
public long secondaryStrideInFeatureChannels()
public long secondaryStrideInPixelsX()
public long secondaryStrideInPixelsY()
public void setBias(float value)
public void setMaximumValue(float value)
public void setMinimumValue(float value)
public void setPrimaryScale(float value)
public void setPrimaryStrideInFeatureChannels(long value)
public void setPrimaryStrideInPixelsX(long value)
public void setPrimaryStrideInPixelsY(long value)
public void setSecondaryScale(float value)
public void setSecondaryStrideInFeatureChannels(long value)
public void setSecondaryStrideInPixelsX(long value)
public void setSecondaryStrideInPixelsY(long value)