Class MLCOptimizer

    • Constructor Detail

      • MLCOptimizer

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • allocWithZone

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

        public boolean appliesGradientClipping()
        Deprecated.
        [@property] appliesGradientClipping Whether gradient clipping should be applied or not.
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
        Deprecated.
      • 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
      • customGlobalNorm

        public float customGlobalNorm()
        Deprecated.
        [@property] customGlobalNorm Used only with MLCGradientClippingTypeByGlobalNorm. If non zero, this norm will be used in place of global norm. API-Since: 15.0
      • debugDescription_static

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

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

        public float gradientClipMax()
        Deprecated.
        [@property] gradientClipMax The maximum gradient value if gradient clipping is enabled before gradient is rescaled.
      • gradientClipMin

        public float gradientClipMin()
        Deprecated.
        [@property] gradientClipMin The minimum gradient value if gradient clipping is enabled before gradient is rescaled.
      • gradientClippingType

        public int gradientClippingType()
        Deprecated.
        [@property] gradientClippingType The type of clipping applied to gradient API-Since: 15.0
      • gradientRescale

        public float gradientRescale()
        Deprecated.
        [@property] gradientRescale The rescale value applied to gradients during optimizer update
      • 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.
      • learningRate

        public float learningRate()
        Deprecated.
        [@property] learningRate The learning rate. This property is 'readwrite' so that callers can implement a 'decay' during training
      • maximumClippingNorm

        public float maximumClippingNorm()
        Deprecated.
        [@property] maximumClippingNorm The maximum clipping value API-Since: 15.0
      • new_objc

        public static MLCOptimizer new_objc()
        Deprecated.
      • regularizationScale

        public float regularizationScale()
        Deprecated.
        [@property] regularizationScale The regularization scale.
      • regularizationType

        public int regularizationType()
        Deprecated.
        [@property] regularizationType The regularization type.
      • resolveClassMethod

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

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

        public void setAppliesGradientClipping​(boolean value)
        Deprecated.
        [@property] appliesGradientClipping Whether gradient clipping should be applied or not.
      • setLearningRate

        public void setLearningRate​(float value)
        Deprecated.
        [@property] learningRate The learning rate. This property is 'readwrite' so that callers can implement a 'decay' during training
      • setVersion_static

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

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

        public static long version_static()
        Deprecated.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.