Class MLCFullyConnectedLayer

  • All Implemented Interfaces:
    NSObject

    @Deprecated
    public class MLCFullyConnectedLayer
    extends MLCLayer
    Deprecated.
    MLCFullyConnectedLayer A fully connected layer a.k.a a dense layer For C:input feature channel, C':output feature channel, the layer maps (*,C) --> (*,C') where * can be 1, 2 or 3 dimesnion. There is an exception for the case of (N,C,1,1) which gets mapped to (N,C',1,1). API-Since: 14.0 Deprecated-Since: 100000.0 Deprecated-Message: Use Metal Performance Shaders Graph or BNNS instead.
    • Constructor Detail

      • MLCFullyConnectedLayer

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • allocWithZone

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

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

        @Nullable
        public @Nullable MLCTensor biases()
        Deprecated.
        [@property] biases The bias tensor used by the convolution layer
      • biasesParameter

        @Nullable
        public @Nullable MLCTensorParameter biasesParameter()
        Deprecated.
        [@property] biasesParameter The bias tensor parameter used for optimizer update
      • 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.
      • debugDescription_static

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

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

        @NotNull
        public @NotNull MLCConvolutionDescriptor descriptor()
        Deprecated.
        [@property] descriptor The convolution descriptor
      • 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.
      • layerWithWeightsBiasesDescriptor

        public static MLCFullyConnectedLayer layerWithWeightsBiasesDescriptor​(@NotNull
                                                                              @NotNull MLCTensor weights,
                                                                              @Nullable
                                                                              @Nullable MLCTensor biases,
                                                                              @NotNull
                                                                              @NotNull MLCConvolutionDescriptor descriptor)
        Deprecated.
        Create a fully connected layer
        Parameters:
        weights - The weights tensor
        biases - The bias tensor
        descriptor - The convolution descriptor
        Returns:
        A new fully connected layer
      • 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.
      • supportsDataTypeOnDevice

        public static boolean supportsDataTypeOnDevice​(int dataType,
                                                       @NotNull
                                                       @NotNull MLCDevice device)
        Deprecated.
      • version_static

        public static long version_static()
        Deprecated.
      • weights

        @NotNull
        public @NotNull MLCTensor weights()
        Deprecated.
        [@property] weights The weights tensor used by the convolution layer
      • weightsParameter

        @NotNull
        public @NotNull MLCTensorParameter weightsParameter()
        Deprecated.
        [@property] weightsParameter The weights tensor parameter used for optimizer update
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.