Class MLCActivationLayer

  • All Implemented Interfaces:
    NSObject

    @Deprecated
    public class MLCActivationLayer
    extends MLCLayer
    Deprecated.
    API-Since: 14.0 Deprecated-Since: 100000.0 Deprecated-Message: Use Metal Performance Shaders Graph or BNNS instead.
    • Constructor Detail

      • MLCActivationLayer

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

      • absoluteLayer

        @NotNull
        public static @NotNull MLCActivationLayer absoluteLayer()
        Deprecated.
        Create an absolute activation layer
        Returns:
        A new activation layer
      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • allocWithZone

        public static MLCActivationLayer 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.
      • celuLayer

        @NotNull
        public static @NotNull MLCActivationLayer celuLayer()
        Deprecated.
        Create a CELU activation layer
        Returns:
        A new activation layer
      • celuLayerWithA

        @NotNull
        public static @NotNull MLCActivationLayer celuLayerWithA​(float a)
        Deprecated.
        Create a CELU activation layer
        Parameters:
        a - The \p a value for the CELU formation
        Returns:
        A new activation layer
      • clampLayerWithMinValueMaxValue

        @NotNull
        public static @NotNull MLCActivationLayer clampLayerWithMinValueMaxValue​(float minValue,
                                                                                 float maxValue)
        Deprecated.
        Create a clamp activation layer
        Parameters:
        minValue - The minimum range used by clamp
        maxValue - The maximum range used by clamp
        Returns:
        A new activation layer
      • 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 MLCActivationDescriptor descriptor()
        Deprecated.
        [@property] descriptor The activation descriptor
      • eluLayer

        @NotNull
        public static @NotNull MLCActivationLayer eluLayer()
        Deprecated.
        Create an ELU activation layer
        Returns:
        A new activation layer
      • eluLayerWithA

        @NotNull
        public static @NotNull MLCActivationLayer eluLayerWithA​(float a)
        Deprecated.
        Create an ELU activation layer
        Parameters:
        a - The \p a value for the ELU formation
        Returns:
        A new activation layer
      • geluLayer

        @NotNull
        public static @NotNull MLCActivationLayer geluLayer()
        Deprecated.
        Create a GELU activation layer
        Returns:
        A new activation layer
      • hardShrinkLayer

        @NotNull
        public static @NotNull MLCActivationLayer hardShrinkLayer()
        Deprecated.
        Create a hard shrink activation layer
        Returns:
        A new activation layer
      • hardShrinkLayerWithA

        @NotNull
        public static @NotNull MLCActivationLayer hardShrinkLayerWithA​(float a)
        Deprecated.
        Create a hard shrink activation layer
        Parameters:
        a - The \p a value for the hard shrink formation
        Returns:
        A new activation layer
      • hardSigmoidLayer

        @NotNull
        public static @NotNull MLCActivationLayer hardSigmoidLayer()
        Deprecated.
        Create a hard sigmoid activation layer
        Returns:
        A new activation layer
      • hardSwishLayer

        @NotNull
        public static @NotNull MLCActivationLayer hardSwishLayer()
        Deprecated.
        Create a hardswish activation layer
        Returns:
        A new activation layer
      • 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.
      • layerWithDescriptor

        public static MLCActivationLayer layerWithDescriptor​(@NotNull
                                                             @NotNull MLCActivationDescriptor descriptor)
        Deprecated.
        Create an activation layer
        Parameters:
        descriptor - The activation descriptor
        Returns:
        A new activation layer
      • leakyReLULayer

        @NotNull
        public static @NotNull MLCActivationLayer leakyReLULayer()
        Deprecated.
        Create a leaky ReLU activation layer
        Returns:
        A new activation layer
      • leakyReLULayerWithNegativeSlope

        @NotNull
        public static @NotNull MLCActivationLayer leakyReLULayerWithNegativeSlope​(float negativeSlope)
        Deprecated.
        Create a leaky ReLU activation layer
        Parameters:
        negativeSlope - Controls the angle of the negative slope
        Returns:
        A new activation layer
      • linearLayerWithScaleBias

        @NotNull
        public static @NotNull MLCActivationLayer linearLayerWithScaleBias​(float scale,
                                                                           float bias)
        Deprecated.
        Create a linear activation layer
        Parameters:
        scale - The scale factor
        bias - The bias value
        Returns:
        A new activation layer
      • logSigmoidLayer

        @NotNull
        public static @NotNull MLCActivationLayer logSigmoidLayer()
        Deprecated.
        Create a log sigmoid activation layer
        Returns:
        A new activation layer
      • relu6Layer

        @NotNull
        public static @NotNull MLCActivationLayer relu6Layer()
        Deprecated.
        Create a ReLU6 activation layer
        Returns:
        A new activation layer
      • reluLayer

        @NotNull
        public static @NotNull MLCActivationLayer reluLayer()
        Deprecated.
        Create a ReLU activation layer
        Returns:
        A new activation layer
      • relunLayerWithAB

        @NotNull
        public static @NotNull MLCActivationLayer relunLayerWithAB​(float a,
                                                                   float b)
        Deprecated.
        Create a ReLUN activation layer This can be used to implement layers such as ReLU6 for example.
        Parameters:
        a - The \p a value
        b - The \p b value
        Returns:
        A new activation 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.
      • seluLayer

        @NotNull
        public static @NotNull MLCActivationLayer seluLayer()
        Deprecated.
        Create a SELU activation layer
        Returns:
        A new activation layer
      • setVersion_static

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

        @NotNull
        public static @NotNull MLCActivationLayer sigmoidLayer()
        Deprecated.
        Create a sigmoid activation layer
        Returns:
        A new activation layer
      • softPlusLayer

        @NotNull
        public static @NotNull MLCActivationLayer softPlusLayer()
        Deprecated.
        Create a soft plus activation layer
        Returns:
        A new activation layer
      • softPlusLayerWithBeta

        @NotNull
        public static @NotNull MLCActivationLayer softPlusLayerWithBeta​(float beta)
        Deprecated.
        Create a soft plus activation layer
        Parameters:
        beta - The beta value for the softplus formation
        Returns:
        A new activation layer
      • softShrinkLayer

        @NotNull
        public static @NotNull MLCActivationLayer softShrinkLayer()
        Deprecated.
        Create a soft shrink activation layer
        Returns:
        A new activation layer
      • softShrinkLayerWithA

        @NotNull
        public static @NotNull MLCActivationLayer softShrinkLayerWithA​(float a)
        Deprecated.
        Create a soft shrink activation layer
        Parameters:
        a - The \p a value for the soft shrink formation
        Returns:
        A new activation layer
      • softSignLayer

        @NotNull
        public static @NotNull MLCActivationLayer softSignLayer()
        Deprecated.
        Create a soft sign activation layer
        Returns:
        A new activation layer
      • superclass_static

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

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

        @NotNull
        public static @NotNull MLCActivationLayer tanhLayer()
        Deprecated.
        Create a tanh activation layer
        Returns:
        A new activation layer
      • tanhShrinkLayer

        @NotNull
        public static @NotNull MLCActivationLayer tanhShrinkLayer()
        Deprecated.
        Create a TanhShrink activation layer
        Returns:
        A new activation layer
      • thresholdLayerWithThresholdReplacement

        @NotNull
        public static @NotNull MLCActivationLayer thresholdLayerWithThresholdReplacement​(float threshold,
                                                                                         float replacement)
        Deprecated.
        Create a threshold activation layer
        Parameters:
        threshold - The value to threshold at
        replacement - The value to replace with
        Returns:
        A new activation layer
      • version_static

        public static long version_static()
        Deprecated.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.