Class MLCUpsampleLayer

  • All Implemented Interfaces:
    NSObject

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

      • MLCUpsampleLayer

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • alignsCorners

        public boolean alignsCorners()
        Deprecated.
        [@property] alignsCorners A boolean that specifies whether the corner pixels of the source and result tensors are aligned. If True, the corner pixels of the source and result tensors are aligned, and thus preserving the values at those pixels. This only has effect when mode is 'bilinear'. Default is NO.
      • allocWithZone

        public static MLCUpsampleLayer 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.
      • debugDescription_static

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

        public static java.lang.String description_static()
        Deprecated.
      • 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.
      • layerWithShape

        public static MLCUpsampleLayer layerWithShape​(@NotNull
                                                      @NotNull NSArray<? extends NSNumber> shape)
        Deprecated.
        Create an upsample layer
        Parameters:
        shape - A NSArray representing the dimensions of the result tensor
        Returns:
        A new upsample layer.
      • layerWithShapeSampleModeAlignsCorners

        public static MLCUpsampleLayer layerWithShapeSampleModeAlignsCorners​(@NotNull
                                                                             @NotNull NSArray<? extends NSNumber> shape,
                                                                             int sampleMode,
                                                                             boolean alignsCorners)
        Deprecated.
        Create an upsample layer
        Parameters:
        shape - A NSArray representing the dimensions of the result tensor
        sampleMode - The upsampling algorithm to use. Default is nearest.
        alignsCorners - Whether the corner pixels of the input and output tensors are aligned or not.
        Returns:
        A new upsample 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.
      • sampleMode

        public int sampleMode()
        Deprecated.
        [@property] sampleMode The sampling mode to use when performing the upsample.
      • setVersion_static

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

        @NotNull
        public @NotNull NSArray<? extends NSNumber> shape()
        Deprecated.
        [@property] shape A NSArray representing just the width if number of entries in shape array is 1 or the height followed by width of result tensor if the number of entries in shape array is 2.
      • 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.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.