Class MLCAdamOptimizer

  • All Implemented Interfaces:
    NSCopying, NSObject

    @Deprecated
    public class MLCAdamOptimizer
    extends MLCOptimizer
    implements NSCopying
    Deprecated.
    MLCAdamOptimizer The MLCAdamOptimizer specifies the Adam optimizer. API-Since: 14.0 Deprecated-Since: 100000.0 Deprecated-Message: Use Metal Performance Shaders Graph or BNNS instead.
    • Constructor Detail

      • MLCAdamOptimizer

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • allocWithZone

        public static MLCAdamOptimizer allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Deprecated.
      • automaticallyNotifiesObserversForKey

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

        public float beta1()
        Deprecated.
        [@property] beta1 Coefficent used for computing running averages of gradient. The default is 0.9.
      • beta2

        public float beta2()
        Deprecated.
        [@property] beta2 Coefficent used for computing running averages of square of gradient. The default is 0.999.
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
        Deprecated.
      • 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)
        Deprecated.
      • classFallbacksForKeyedArchiver

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

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

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

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

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

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

        public static long hash_static()
        Deprecated.
      • instanceMethodSignatureForSelector

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

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

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

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

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

        public static MLCAdamOptimizer optimizerWithDescriptorBeta1Beta2EpsilonTimeStep​(@NotNull
                                                                                        @NotNull MLCOptimizerDescriptor optimizerDescriptor,
                                                                                        float beta1,
                                                                                        float beta2,
                                                                                        float epsilon,
                                                                                        long timeStep)
        Deprecated.
        Create a MLCAdamOptimizer object
        Parameters:
        optimizerDescriptor - The optimizer descriptor object
        beta1 - The beta1 value
        beta2 - The beta2 value
        epsilon - The epsilon value to use to improve numerical stability
        timeStep - The initial timestep to use for the update
        Returns:
        A new MLCAdamOptimizer object.
      • optimizerWithDescriptorBeta1Beta2EpsilonUsesAMSGradTimeStep

        public static MLCAdamOptimizer optimizerWithDescriptorBeta1Beta2EpsilonUsesAMSGradTimeStep​(@NotNull
                                                                                                   @NotNull MLCOptimizerDescriptor optimizerDescriptor,
                                                                                                   float beta1,
                                                                                                   float beta2,
                                                                                                   float epsilon,
                                                                                                   boolean usesAMSGrad,
                                                                                                   long timeStep)
        Deprecated.
        Create a MLCAdamOptimizer object
        Parameters:
        optimizerDescriptor - The optimizer descriptor object
        beta1 - The beta1 value
        beta2 - The beta2 value
        epsilon - The epsilon value to use to improve numerical stability
        usesAMSGrad - Whether to use the AMSGrad variant of this algorithm from the paper (https://arxiv.org/abs/1904.09237)
        timeStep - The initial timestep to use for the update
        Returns:
        A new MLCAdamOptimizer object. API-Since: 15.0
      • resolveClassMethod

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

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

        public static void setVersion_static​(long aVersion)
        Deprecated.
      • superclass_static

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

        public long timeStep()
        Deprecated.
        [@property] timeStep The current timestep used for the update. The default is 1.
      • usesAMSGrad

        public boolean usesAMSGrad()
        Deprecated.
        [@property] usesAMSGrad Whether to use the AMSGrad variant of this algorithm The default is false
      • version_static

        public static long version_static()
        Deprecated.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.