Class MPSNNBinaryArithmeticNode

    • Constructor Detail

      • MPSNNBinaryArithmeticNode

        protected MPSNNBinaryArithmeticNode​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • initWithLeftSourceRightSource

        public MPSNNBinaryArithmeticNode initWithLeftSourceRightSource​(@NotNull
                                                                       @NotNull MPSNNImageNode left,
                                                                       @NotNull
                                                                       @NotNull MPSNNImageNode right)
        init an arithemtic node with two sources
        Parameters:
        left - the left operand
        right - the right operand
      • initWithSources

        public MPSNNBinaryArithmeticNode initWithSources​(@NotNull
                                                         @NotNull NSArray<? extends MPSNNImageNode> sourceNodes)
        init an arithemtic node with an array of sources
        Parameters:
        sourceNodes - A valid NSArray containing two sources
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • nodeWithLeftSourceRightSource

        public static MPSNNBinaryArithmeticNode nodeWithLeftSourceRightSource​(@NotNull
                                                                              @NotNull MPSNNImageNode left,
                                                                              @NotNull
                                                                              @NotNull MPSNNImageNode right)
        create an autoreleased arithemtic node with two sources
        Parameters:
        left - the left operand
        right - the right operand
      • nodeWithSources

        public static MPSNNBinaryArithmeticNode nodeWithSources​(@NotNull
                                                                @NotNull NSArray<? extends MPSNNImageNode> sourceNodes)
        create an autoreleased arithemtic node with an array of sources
        Parameters:
        sourceNodes - A valid NSArray containing two sources
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • bias

        public float bias()
      • gradientClass

        @NotNull
        public @NotNull org.moe.natj.objc.Class gradientClass()
      • gradientFiltersWithSources

        @NotNull
        public @NotNull NSArray<? extends MPSNNGradientFilterNode> gradientFiltersWithSources​(@NotNull
                                                                                              @NotNull NSArray<? extends MPSNNImageNode> gradientImages)
        create new arithmetic gradient nodes 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. API-Since: 11.3
        Overrides:
        gradientFiltersWithSources in class MPSNNFilterNode
      • maximumValue

        public float maximumValue()
      • minimumValue

        public float minimumValue()
      • primaryScale

        public float primaryScale()
      • primaryStrideInFeatureChannels

        public long primaryStrideInFeatureChannels()
      • primaryStrideInPixelsX

        public long primaryStrideInPixelsX()
      • primaryStrideInPixelsY

        public long primaryStrideInPixelsY()
      • secondaryScale

        public float secondaryScale()
      • secondaryStrideInFeatureChannels

        public long secondaryStrideInFeatureChannels()
      • secondaryStrideInPixelsX

        public long secondaryStrideInPixelsX()
      • secondaryStrideInPixelsY

        public long secondaryStrideInPixelsY()
      • setBias

        public void setBias​(float value)
      • setMaximumValue

        public void setMaximumValue​(float value)
      • setMinimumValue

        public void setMinimumValue​(float value)
      • setPrimaryScale

        public void setPrimaryScale​(float value)
      • setPrimaryStrideInFeatureChannels

        public void setPrimaryStrideInFeatureChannels​(long value)
      • setPrimaryStrideInPixelsX

        public void setPrimaryStrideInPixelsX​(long value)
      • setPrimaryStrideInPixelsY

        public void setPrimaryStrideInPixelsY​(long value)
      • setSecondaryScale

        public void setSecondaryScale​(float value)
      • setSecondaryStrideInFeatureChannels

        public void setSecondaryStrideInFeatureChannels​(long value)
      • setSecondaryStrideInPixelsX

        public void setSecondaryStrideInPixelsX​(long value)
      • setSecondaryStrideInPixelsY

        public void setSecondaryStrideInPixelsY​(long value)
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.