Class MLCInstanceNormalizationLayer

  • All Implemented Interfaces:
    NSObject

    @Deprecated
    public class MLCInstanceNormalizationLayer
    extends MLCLayer
    Deprecated.
    MLCInstanceNormalizationLayer An instance normalization layer. For more information refer to https://pytorch.org/docs/stable/nn.html#instancenorm2d API-Since: 14.0 Deprecated-Since: 100000.0 Deprecated-Message: Use Metal Performance Shaders Graph or BNNS instead.
    • Constructor Detail

      • MLCInstanceNormalizationLayer

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • automaticallyNotifiesObserversForKey

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

        @Nullable
        public @Nullable MLCTensor beta()
        Deprecated.
        [@property] beta The beta tensor
      • betaParameter

        @Nullable
        public @Nullable MLCTensorParameter betaParameter()
        Deprecated.
        [@property] betaParameter The beta 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.
      • featureChannelCount

        public long featureChannelCount()
        Deprecated.
        [@property] featureChannelCount The number of feature channels
      • gamma

        @Nullable
        public @Nullable MLCTensor gamma()
        Deprecated.
        [@property] gamma The gamma tensor
      • gammaParameter

        @Nullable
        public @Nullable MLCTensorParameter gammaParameter()
        Deprecated.
        [@property] gammaParameter The gamma tensor parameter used for 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.
      • layerWithFeatureChannelCountBetaGammaVarianceEpsilon

        public static MLCInstanceNormalizationLayer layerWithFeatureChannelCountBetaGammaVarianceEpsilon​(long featureChannelCount,
                                                                                                         @Nullable
                                                                                                         @Nullable MLCTensor beta,
                                                                                                         @Nullable
                                                                                                         @Nullable MLCTensor gamma,
                                                                                                         float varianceEpsilon)
        Deprecated.
        Create an instance normalization layer
        Parameters:
        featureChannelCount - The number of feature channels
        beta - The beta tensor
        gamma - The gamma tensor
        varianceEpsilon - The epslion value
        Returns:
        A new instance normalization layer.
      • layerWithFeatureChannelCountBetaGammaVarianceEpsilonMomentum

        public static MLCInstanceNormalizationLayer layerWithFeatureChannelCountBetaGammaVarianceEpsilonMomentum​(long featureChannelCount,
                                                                                                                 @Nullable
                                                                                                                 @Nullable MLCTensor beta,
                                                                                                                 @Nullable
                                                                                                                 @Nullable MLCTensor gamma,
                                                                                                                 float varianceEpsilon,
                                                                                                                 float momentum)
        Deprecated.
        Create an instance normalization layer
        Parameters:
        featureChannelCount - The number of feature channels
        beta - The beta tensor
        gamma - The gamma tensor
        varianceEpsilon - The epslion value
        momentum - The momentum value for the running mean and variance computation
        Returns:
        A new instance normalization layer.
      • layerWithFeatureChannelCountMeanVarianceBetaGammaVarianceEpsilonMomentum

        public static MLCInstanceNormalizationLayer layerWithFeatureChannelCountMeanVarianceBetaGammaVarianceEpsilonMomentum​(long featureChannelCount,
                                                                                                                             @NotNull
                                                                                                                             @NotNull MLCTensor mean,
                                                                                                                             @NotNull
                                                                                                                             @NotNull MLCTensor variance,
                                                                                                                             @Nullable
                                                                                                                             @Nullable MLCTensor beta,
                                                                                                                             @Nullable
                                                                                                                             @Nullable MLCTensor gamma,
                                                                                                                             float varianceEpsilon,
                                                                                                                             float momentum)
        Deprecated.
        Create an instance normalization layer
        Parameters:
        featureChannelCount - The number of feature channels
        mean - The running mean tensor
        variance - The running variance tensor
        beta - The beta tensor
        gamma - The gamma tensor
        varianceEpsilon - The epslion value
        momentum - The momentum value for the running mean and variance computation
        Returns:
        A new instance normalization layer. API-Since: 14.5
      • mean

        @Nullable
        public @Nullable MLCTensor mean()
        Deprecated.
        [@property] mean The running mean tensor API-Since: 14.5
      • momentum

        public float momentum()
        Deprecated.
        [@property] momentum The value used for the running mean and variance computation The default is 0.99f.
      • 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.
      • variance

        @Nullable
        public @Nullable MLCTensor variance()
        Deprecated.
        [@property] variance The running variance tensor API-Since: 14.5
      • varianceEpsilon

        public float varianceEpsilon()
        Deprecated.
        [@property] varianceEpsilon A value used for numerical stability
      • version_static

        public static long version_static()
        Deprecated.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.