Class MLCEmbeddingDescriptor

  • All Implemented Interfaces:
    NSCopying, NSObject

    @Deprecated
    public class MLCEmbeddingDescriptor
    extends NSObject
    implements NSCopying
    Deprecated.
    MLCEmbeddingDescriptor The MLCEmbeddingDescriptor specifies an embedding layer descriptor API-Since: 14.0 Deprecated-Since: 100000.0 Deprecated-Message: Use Metal Performance Shaders Graph or BNNS instead.
    • Constructor Detail

      • MLCEmbeddingDescriptor

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • allocWithZone

        public static MLCEmbeddingDescriptor 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.
      • 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.
      • description_static

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

        public static MLCEmbeddingDescriptor descriptorWithEmbeddingCountEmbeddingDimension​(@NotNull
                                                                                            @NotNull NSNumber embeddingCount,
                                                                                            @NotNull
                                                                                            @NotNull NSNumber embeddingDimension)
        Deprecated.
      • descriptorWithEmbeddingCountEmbeddingDimensionPaddingIndexMaximumNormPNormScalesGradientByFrequency

        public static MLCEmbeddingDescriptor descriptorWithEmbeddingCountEmbeddingDimensionPaddingIndexMaximumNormPNormScalesGradientByFrequency​(@NotNull
                                                                                                                                                 @NotNull NSNumber embeddingCount,
                                                                                                                                                 @NotNull
                                                                                                                                                 @NotNull NSNumber embeddingDimension,
                                                                                                                                                 @Nullable
                                                                                                                                                 @Nullable NSNumber paddingIndex,
                                                                                                                                                 @Nullable
                                                                                                                                                 @Nullable NSNumber maximumNorm,
                                                                                                                                                 @Nullable
                                                                                                                                                 @Nullable NSNumber pNorm,
                                                                                                                                                 boolean scalesGradientByFrequency)
        Deprecated.
      • embeddingCount

        @NotNull
        public @NotNull NSNumber embeddingCount()
        Deprecated.
        [@property] embeddingCount The size of the dictionary
      • embeddingDimension

        @NotNull
        public @NotNull NSNumber embeddingDimension()
        Deprecated.
        [@property] embeddingDimension The dimension of embedding vectors
      • 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.
      • maximumNorm

        @Nullable
        public @Nullable NSNumber maximumNorm()
        Deprecated.
        [@property] maximumNorm A float, if set, in the forward pass only, the selected embedding vectors will be re-normalized to have an Lp norm of less than maximumNorm in the dictionary, Default=nil
      • pNorm

        @Nullable
        public @Nullable NSNumber pNorm()
        Deprecated.
        [@property] pNorm A float, the p of the Lp norm, can be set to infinity norm by [NSNumber numberWithFloat:INFINITY]. Default=2.0
      • paddingIndex

        @Nullable
        public @Nullable NSNumber paddingIndex()
        Deprecated.
        [@property] paddingIndex If set, the embedding vector at paddingIndex is initialized with zero and will not be updated in gradient pass, Default=nil
      • resolveClassMethod

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

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

        public boolean scalesGradientByFrequency()
        Deprecated.
        [@property] scalesGradientByFrequency If set, the gradients are scaled by the inverse of the frequency of the words in batch before the weight update. Default=NO
      • 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.