Class MPSNNArithmeticGradientNode

    • Constructor Detail

      • MPSNNArithmeticGradientNode

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • bias

        public float bias()
      • cancelPreviousPerformRequestsWithTarget

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

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

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

        public static 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()
      • initWithGradientImagesForwardFilterIsSecondarySourceFilter

        public MPSNNArithmeticGradientNode initWithGradientImagesForwardFilterIsSecondarySourceFilter​(NSArray<? extends MPSNNImageNode> gradientImages,
                                                                                                      MPSNNFilterNode filter,
                                                                                                      boolean isSecondarySourceFilter)
        create a new arithmetic gradient node See also -[MPSCNNNeuronNode gradientFilterNodesWithSources:] for an easier way to do this.
        Parameters:
        gradientImages - The input gradient from the 'downstream' gradient filter and the source input image from the forward pass (primary or secondary).
        filter - The matching filter node from the forward pass.
        isSecondarySourceFilter - The isSecondarySourceFilter property is used to indicate whether the arithmetic gradient filter is operating on the primary or secondary source image from the forward pass.
      • initWithSourceGradientSourceImageGradientStateIsSecondarySourceFilter

        public MPSNNArithmeticGradientNode initWithSourceGradientSourceImageGradientStateIsSecondarySourceFilter​(MPSNNImageNode sourceGradient,
                                                                                                                 MPSNNImageNode sourceImage,
                                                                                                                 MPSNNBinaryGradientStateNode gradientState,
                                                                                                                 boolean isSecondarySourceFilter)
        create a new arithmetic gradient node See also -[MPSCNNNeuronNode gradientFilterNodesWithSources:] for an easier way to do this.
        Parameters:
        sourceGradient - The input gradient from the 'downstream' gradient filter.
        sourceImage - The source input image from the forward pass (primary or secondary).
        gradientState - The gradient state produced by the concatenation filter, consumed by this filter.
      • instanceMethodSignatureForSelector

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

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

        public boolean isSecondarySourceFilter()
      • isSubclassOfClass

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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • maximumValue

        public float maximumValue()
      • minimumValue

        public float minimumValue()
      • new_objc

        public static java.lang.Object new_objc()
      • nodeWithSourceGradientSourceImageGradientStateIsSecondarySourceFilter

        public static MPSNNArithmeticGradientNode nodeWithSourceGradientSourceImageGradientStateIsSecondarySourceFilter​(MPSNNImageNode sourceGradient,
                                                                                                                        MPSNNImageNode sourceImage,
                                                                                                                        MPSNNBinaryGradientStateNode gradientState,
                                                                                                                        boolean isSecondarySourceFilter)
        create a new arithmetic gradient node See also -[MPSCNNNeuronNode gradientFilterNodesWithSources:] for an easier way to do this.
        Parameters:
        sourceGradient - The input gradient from the 'downstream' gradient filter.
        sourceImage - The source input image from the forward pass (primary or secondary).
        gradientState - The gradient state produced by the concatenation filter, consumed by this filter.
      • primaryScale

        public float primaryScale()
      • resolveClassMethod

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

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • 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)
      • setSecondaryScale

        public void setSecondaryScale​(float value)
      • setSecondaryStrideInFeatureChannels

        public void setSecondaryStrideInFeatureChannels​(long value)
      • setSecondaryStrideInPixelsX

        public void setSecondaryStrideInPixelsX​(long value)
      • setSecondaryStrideInPixelsY

        public void setSecondaryStrideInPixelsY​(long value)
      • 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()