Class MLCRMSPropOptimizer

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class MLCRMSPropOptimizer
    extends MLCOptimizer
    implements NSCopying
    MLCRMSPropOptimizer The MLCRMSPropOptimizer specifies the RMSProp optimizer.
    • Constructor Detail

      • MLCRMSPropOptimizer

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static MLCRMSPropOptimizer allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • alpha

        public float alpha()
        [@property] alpha The smoothing constant. The default is 0.99.
      • 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()
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
        Overrides:
        copyWithZone in class MLCOptimizer
      • debugDescription_static

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

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

        public float epsilon()
        [@property] epsilon A term added to improve numerical stability. The default is 1e-8.
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

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

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

        public boolean isCentered()
        [@property] isCentered If True, compute the centered RMSProp, the gradient is normalized by an estimation of its variance. The default is false.
      • 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)
      • momentumScale

        public float momentumScale()
        [@property] momentumScale The momentum factor. A hyper-parameter. The default is 0.0.
      • optimizerWithDescriptor

        public static MLCRMSPropOptimizer optimizerWithDescriptor​(@NotNull
                                                                  @NotNull MLCOptimizerDescriptor optimizerDescriptor)
        Create a MLCRMSPropOptimizer object with defaults
        Returns:
        A new MLCRMSPropOptimizer object.
      • optimizerWithDescriptorMomentumScaleAlphaEpsilonIsCentered

        public static MLCRMSPropOptimizer optimizerWithDescriptorMomentumScaleAlphaEpsilonIsCentered​(@NotNull
                                                                                                     @NotNull MLCOptimizerDescriptor optimizerDescriptor,
                                                                                                     float momentumScale,
                                                                                                     float alpha,
                                                                                                     float epsilon,
                                                                                                     boolean isCentered)
        Create a MLCRMSPropOptimizer object
        Parameters:
        optimizerDescriptor - The optimizer descriptor object
        momentumScale - The momentum scale
        alpha - The smoothing constant value
        epsilon - The epsilon value to use to improve numerical stability
        isCentered - A boolean to specify whether to compute the centered RMSProp or not
        Returns:
        A new MLCRMSPropOptimizer object.
      • 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.