Class MLCLossDescriptor

  • All Implemented Interfaces:
    NSCopying, NSObject

    @Deprecated
    public class MLCLossDescriptor
    extends NSObject
    implements NSCopying
    Deprecated.
    MLCLossDescriptor The MLCLossDescriptor specifies a loss filter descriptor. API-Since: 14.0 Deprecated-Since: 100000.0 Deprecated-Message: Use Metal Performance Shaders Graph or BNNS instead.
    • Constructor Detail

      • MLCLossDescriptor

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • allocWithZone

        public static MLCLossDescriptor allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Deprecated.
      • 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.
      • classCount

        public long classCount()
        Deprecated.
        [@property] numberOfClasses The number of classes parameter. The default value is 1. This parameter is valid only for the loss function MLCLossTypeSoftmaxCrossEntropy.
      • 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
      • debugDescription_static

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

        public float delta()
        Deprecated.
        [@property] delta The delta parameter. The default value is 1.0f. This parameter is valid only for the loss function MLCLossTypeHuber.
      • description_static

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

        public static MLCLossDescriptor descriptorWithTypeReductionType​(int lossType,
                                                                        int reductionType)
        Deprecated.
        Create a loss descriptor object
        Parameters:
        lossType - The loss function.
        reductionType - The reduction operation
        Returns:
        A new MLCLossDescriptor object
      • descriptorWithTypeReductionTypeWeight

        public static MLCLossDescriptor descriptorWithTypeReductionTypeWeight​(int lossType,
                                                                              int reductionType,
                                                                              float weight)
        Deprecated.
        Create a loss descriptor object
        Parameters:
        lossType - The loss function.
        reductionType - The reduction operation
        weight - The scale factor to apply to each element of a result.
        Returns:
        A new MLCLossDescriptor object
      • descriptorWithTypeReductionTypeWeightLabelSmoothingClassCount

        public static MLCLossDescriptor descriptorWithTypeReductionTypeWeightLabelSmoothingClassCount​(int lossType,
                                                                                                      int reductionType,
                                                                                                      float weight,
                                                                                                      float labelSmoothing,
                                                                                                      long classCount)
        Deprecated.
        Create a loss descriptor object
        Parameters:
        lossType - The loss function.
        reductionType - The reduction operation
        weight - The scale factor to apply to each element of a result.
        labelSmoothing - The label smoothing parameter.
        classCount - The number of classes parameter.
        Returns:
        A new MLCLossDescriptor object
      • descriptorWithTypeReductionTypeWeightLabelSmoothingClassCountEpsilonDelta

        public static MLCLossDescriptor descriptorWithTypeReductionTypeWeightLabelSmoothingClassCountEpsilonDelta​(int lossType,
                                                                                                                  int reductionType,
                                                                                                                  float weight,
                                                                                                                  float labelSmoothing,
                                                                                                                  long classCount,
                                                                                                                  float epsilon,
                                                                                                                  float delta)
        Deprecated.
        Create a loss descriptor object
        Parameters:
        lossType - The loss function.
        reductionType - The reduction operation
        weight - The scale factor to apply to each element of a result.
        labelSmoothing - The label smoothing parameter.
        classCount - The number of classes parameter.
        epsilon - The epsilon used by LogLoss
        delta - The delta parameter used by Huber loss
        Returns:
        A new MLCLossDescriptor object
      • epsilon

        public float epsilon()
        Deprecated.
        [@property] epsilon The epsilon parameter. The default value is 1e-7. This parameter is valid only for the loss function MLCLossTypeLog.
      • 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.
      • labelSmoothing

        public float labelSmoothing()
        Deprecated.
        [@property] labelSmoothing The label smoothing parameter. The default value is 0.0. This parameter is valid only for the loss functions of the following type(s): MLCLossTypeSoftmaxCrossEntropy and MLCLossTypeSigmoidCrossEntropy.
      • lossType

        public int lossType()
        Deprecated.
        [@property] lossType Specifies the loss function.
      • reductionType

        public int reductionType()
        Deprecated.
        [@property] reductionType The reduction operation performed by the loss function.
      • 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.
      • version_static

        public static long version_static()
        Deprecated.
      • weight

        public float weight()
        Deprecated.
        [@property] weight The scale factor to apply to each element of a result. The default value is 1.0.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.