Class MPSCNNGroupNormalizationGradientState

  • All Implemented Interfaces:
    NSObject

    public class MPSCNNGroupNormalizationGradientState
    extends MPSNNGradientState
    MPSCNNGroupNormalizationGradientState [@dependency] This depends on Metal.framework A state to hold information necessary to execute a gradient pass for MPSCNNGroupNormalization. Gradient states should be created by using the forward kernel's methods. This will ensure that the state captures all information necessary to execute the corresponding gradient pass. API-Since: 13.0
    • Constructor Detail

      • MPSCNNGroupNormalizationGradientState

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

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

        @Nullable
        public @Nullable MTLBuffer beta()
        Return an MTLBuffer object with the state's current beta values..
      • 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()
      • gamma

        @Nullable
        public @Nullable MTLBuffer gamma()
        Return an MTLBuffer object with the state's current gamma values.
      • gradientForBeta

        @NotNull
        public @NotNull MTLBuffer gradientForBeta()
        [@property] The MTLBuffer containing the gradient values for beta.
      • gradientForGamma

        @NotNull
        public @NotNull MTLBuffer gradientForGamma()
        [@property] The MTLBuffer containing the gradient values for gamma.
      • groupNormalization

        @NotNull
        public @NotNull MPSCNNGroupNormalization groupNormalization()
        The MPSCNNGroupNormalization object that created this state object.
      • hash_static

        public static long hash_static()
      • initWithResources

        public MPSCNNGroupNormalizationGradientState initWithResources​(@Nullable
                                                                       @Nullable NSArray<?> resources)
        Description copied from class: MPSState
        Create a state object with a list of MTLResources Because MPS prefers deferred allocation of resources your application should use -initWithTextures:bufferSizes:bufferCount: whenever possible. This method is useful for cases when the MTLResources must be initialized by the CPU.
        Overrides:
        initWithResources in class MPSNNGradientState
      • 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)
      • 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()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.