Class MLCConvolutionDescriptor

  • All Implemented Interfaces:
    NSCopying, NSObject

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

      • MLCConvolutionDescriptor

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • allocWithZone

        public static MLCConvolutionDescriptor 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.
      • convolutionTransposeDescriptorWithKernelSizesInputFeatureChannelCountOutputFeatureChannelCountGroupCountStridesDilationRatesPaddingPolicyPaddingSizes

        @NotNull
        public static @NotNull MLCConvolutionDescriptor convolutionTransposeDescriptorWithKernelSizesInputFeatureChannelCountOutputFeatureChannelCountGroupCountStridesDilationRatesPaddingPolicyPaddingSizes​(@NotNull
                                                                                                                                                                                                              @NotNull NSArray<? extends NSNumber> kernelSizes,
                                                                                                                                                                                                              long inputFeatureChannelCount,
                                                                                                                                                                                                              long outputFeatureChannelCount,
                                                                                                                                                                                                              long groupCount,
                                                                                                                                                                                                              @NotNull
                                                                                                                                                                                                              @NotNull NSArray<? extends NSNumber> strides,
                                                                                                                                                                                                              @NotNull
                                                                                                                                                                                                              @NotNull NSArray<? extends NSNumber> dilationRates,
                                                                                                                                                                                                              int paddingPolicy,
                                                                                                                                                                                                              @Nullable
                                                                                                                                                                                                              @Nullable NSArray<? extends NSNumber> paddingSizes)
        Deprecated.
        Create a MLCConvolutionDescriptor object for convolution transpose
        Parameters:
        kernelSizes - The kernel sizes in x and y
        inputFeatureChannelCount - The number of feature channels in the input tensor
        outputFeatureChannelCount - The number of feature channels in the output tensor
        groupCount - Number of groups
        strides - The kernel strides in x and y
        dilationRates - The dilation rates in x and y
        paddingPolicy - The padding policy
        paddingSizes - The padding sizes in x and y if padding policy is MLCPaddingPolicyUsePaddingSIze
        Returns:
        A new MLCConvolutionDescriptor object.
      • convolutionTransposeDescriptorWithKernelSizesInputFeatureChannelCountOutputFeatureChannelCountStridesPaddingPolicyPaddingSizes

        @NotNull
        public static @NotNull MLCConvolutionDescriptor convolutionTransposeDescriptorWithKernelSizesInputFeatureChannelCountOutputFeatureChannelCountStridesPaddingPolicyPaddingSizes​(@NotNull
                                                                                                                                                                                       @NotNull NSArray<? extends NSNumber> kernelSizes,
                                                                                                                                                                                       long inputFeatureChannelCount,
                                                                                                                                                                                       long outputFeatureChannelCount,
                                                                                                                                                                                       @NotNull
                                                                                                                                                                                       @NotNull NSArray<? extends NSNumber> strides,
                                                                                                                                                                                       int paddingPolicy,
                                                                                                                                                                                       @Nullable
                                                                                                                                                                                       @Nullable NSArray<? extends NSNumber> paddingSizes)
        Deprecated.
        Create a MLCConvolutionDescriptor object for convolution transpose
        Parameters:
        kernelSizes - The kernel sizes in x and y
        inputFeatureChannelCount - The number of feature channels in the input tensor
        outputFeatureChannelCount - The number of feature channels in the output tensor
        strides - The kernel strides in x and y
        paddingPolicy - The padding policy
        paddingSizes - The padding sizes in x and y if padding policy is MLCPaddingPolicyUsePaddingSIze
        Returns:
        A new MLCConvolutionDescriptor object.
      • convolutionTransposeDescriptorWithKernelWidthKernelHeightInputFeatureChannelCountOutputFeatureChannelCount

        @NotNull
        public static @NotNull MLCConvolutionDescriptor convolutionTransposeDescriptorWithKernelWidthKernelHeightInputFeatureChannelCountOutputFeatureChannelCount​(long kernelWidth,
                                                                                                                                                                   long kernelHeight,
                                                                                                                                                                   long inputFeatureChannelCount,
                                                                                                                                                                   long outputFeatureChannelCount)
        Deprecated.
        Create a MLCConvolutionDescriptor object for convolution transpose
        Parameters:
        kernelWidth - The kernel size in x
        kernelHeight - The kernel size in x
        inputFeatureChannelCount - The number of feature channels in the input tensor
        outputFeatureChannelCount - The number of feature channels in the output tensor
        Returns:
        A new MLCConvolutionDescriptor object.
      • convolutionType

        public int convolutionType()
        Deprecated.
        [@property] convolutionType The type of convolution.
      • 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.
      • depthwiseConvolutionDescriptorWithKernelSizesInputFeatureChannelCountChannelMultiplierStridesDilationRatesPaddingPolicyPaddingSizes

        @NotNull
        public static @NotNull MLCConvolutionDescriptor depthwiseConvolutionDescriptorWithKernelSizesInputFeatureChannelCountChannelMultiplierStridesDilationRatesPaddingPolicyPaddingSizes​(@NotNull
                                                                                                                                                                                            @NotNull NSArray<? extends NSNumber> kernelSizes,
                                                                                                                                                                                            long inputFeatureChannelCount,
                                                                                                                                                                                            long channelMultiplier,
                                                                                                                                                                                            @NotNull
                                                                                                                                                                                            @NotNull NSArray<? extends NSNumber> strides,
                                                                                                                                                                                            @NotNull
                                                                                                                                                                                            @NotNull NSArray<? extends NSNumber> dilationRates,
                                                                                                                                                                                            int paddingPolicy,
                                                                                                                                                                                            @Nullable
                                                                                                                                                                                            @Nullable NSArray<? extends NSNumber> paddingSizes)
        Deprecated.
        Create a MLCConvolutionDescriptor object for depthwise convolution
        Parameters:
        kernelSizes - The kernel sizes in x and y
        inputFeatureChannelCount - The number of feature channels in the input tensor
        channelMultiplier - The channel multiplier
        strides - The kernel strides in x and y
        dilationRates - The dilation rates in x and y
        paddingPolicy - The padding policy
        paddingSizes - The padding sizes in x and y if padding policy is MLCPaddingPolicyUsePaddingSIze
        Returns:
        A new MLCConvolutionDescriptor object.
      • depthwiseConvolutionDescriptorWithKernelSizesInputFeatureChannelCountChannelMultiplierStridesPaddingPolicyPaddingSizes

        @NotNull
        public static @NotNull MLCConvolutionDescriptor depthwiseConvolutionDescriptorWithKernelSizesInputFeatureChannelCountChannelMultiplierStridesPaddingPolicyPaddingSizes​(@NotNull
                                                                                                                                                                               @NotNull NSArray<? extends NSNumber> kernelSizes,
                                                                                                                                                                               long inputFeatureChannelCount,
                                                                                                                                                                               long channelMultiplier,
                                                                                                                                                                               @NotNull
                                                                                                                                                                               @NotNull NSArray<? extends NSNumber> strides,
                                                                                                                                                                               int paddingPolicy,
                                                                                                                                                                               @Nullable
                                                                                                                                                                               @Nullable NSArray<? extends NSNumber> paddingSizes)
        Deprecated.
        Create a MLCConvolutionDescriptor object for depthwise convolution
        Parameters:
        kernelSizes - The kernel sizes in x and y
        inputFeatureChannelCount - The number of feature channels in the input tensor
        channelMultiplier - The channel multiplier
        strides - The kernel strides in x and y
        paddingPolicy - The padding policy
        paddingSizes - The padding sizes in x and y if padding policy is MLCPaddingPolicyUsePaddingSIze
        Returns:
        A new MLCConvolutionDescriptor object.
      • depthwiseConvolutionDescriptorWithKernelWidthKernelHeightInputFeatureChannelCountChannelMultiplier

        @NotNull
        public static @NotNull MLCConvolutionDescriptor depthwiseConvolutionDescriptorWithKernelWidthKernelHeightInputFeatureChannelCountChannelMultiplier​(long kernelWidth,
                                                                                                                                                           long kernelHeight,
                                                                                                                                                           long inputFeatureChannelCount,
                                                                                                                                                           long channelMultiplier)
        Deprecated.
        Create a MLCConvolutionDescriptor object for depthwise convolution
        Parameters:
        kernelWidth - The kernel size in x
        kernelHeight - The kernel size in x
        inputFeatureChannelCount - The number of feature channels in the input tensor
        channelMultiplier - The channel multiplier
        Returns:
        A new MLCConvolutionDescriptor object.
      • description_static

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

        public static MLCConvolutionDescriptor descriptorWithKernelSizesInputFeatureChannelCountOutputFeatureChannelCountGroupCountStridesDilationRatesPaddingPolicyPaddingSizes​(@NotNull
                                                                                                                                                                                 @NotNull NSArray<? extends NSNumber> kernelSizes,
                                                                                                                                                                                 long inputFeatureChannelCount,
                                                                                                                                                                                 long outputFeatureChannelCount,
                                                                                                                                                                                 long groupCount,
                                                                                                                                                                                 @NotNull
                                                                                                                                                                                 @NotNull NSArray<? extends NSNumber> strides,
                                                                                                                                                                                 @NotNull
                                                                                                                                                                                 @NotNull NSArray<? extends NSNumber> dilationRates,
                                                                                                                                                                                 int paddingPolicy,
                                                                                                                                                                                 @Nullable
                                                                                                                                                                                 @Nullable NSArray<? extends NSNumber> paddingSizes)
        Deprecated.
        Create a MLCConvolutionDescriptor object
        Parameters:
        kernelSizes - The kernel sizes in x and y
        inputFeatureChannelCount - The number of feature channels in the input tensor
        outputFeatureChannelCount - The number of feature channels in the output tensor
        groupCount - Number of groups
        strides - The kernel strides in x and y
        dilationRates - The dilation rates in x and y
        paddingPolicy - The padding policy
        paddingSizes - The padding sizes in x and y if padding policy is MLCPaddingPolicyUsePaddingSIze
        Returns:
        A new MLCConvolutionDescriptor object.
      • descriptorWithKernelSizesInputFeatureChannelCountOutputFeatureChannelCountStridesPaddingPolicyPaddingSizes

        public static MLCConvolutionDescriptor descriptorWithKernelSizesInputFeatureChannelCountOutputFeatureChannelCountStridesPaddingPolicyPaddingSizes​(@NotNull
                                                                                                                                                          @NotNull NSArray<? extends NSNumber> kernelSizes,
                                                                                                                                                          long inputFeatureChannelCount,
                                                                                                                                                          long outputFeatureChannelCount,
                                                                                                                                                          @NotNull
                                                                                                                                                          @NotNull NSArray<? extends NSNumber> strides,
                                                                                                                                                          int paddingPolicy,
                                                                                                                                                          @Nullable
                                                                                                                                                          @Nullable NSArray<? extends NSNumber> paddingSizes)
        Deprecated.
        Create a MLCConvolutionDescriptor object
        Parameters:
        kernelSizes - The kernel sizes in x and y
        inputFeatureChannelCount - The number of feature channels in the input tensor
        outputFeatureChannelCount - The number of feature channels in the output tensor
        strides - The kernel strides in x and y
        paddingPolicy - The padding policy
        paddingSizes - The padding sizes in x and y if padding policy is MLCPaddingPolicyUsePaddingSIze
        Returns:
        A new MLCConvolutionDescriptor object.
      • descriptorWithKernelWidthKernelHeightInputFeatureChannelCountOutputFeatureChannelCount

        public static MLCConvolutionDescriptor descriptorWithKernelWidthKernelHeightInputFeatureChannelCountOutputFeatureChannelCount​(long kernelWidth,
                                                                                                                                      long kernelHeight,
                                                                                                                                      long inputFeatureChannelCount,
                                                                                                                                      long outputFeatureChannelCount)
        Deprecated.
        Create a MLCConvolutionDescriptor object
        Parameters:
        kernelWidth - The kernel size in x
        kernelHeight - The kernel size in x
        inputFeatureChannelCount - The number of feature channels in the input tensor
        outputFeatureChannelCount - The number of feature channels in the output tensor
        Returns:
        A new MLCConvolutionDescriptor object.
      • descriptorWithTypeKernelSizesInputFeatureChannelCountOutputFeatureChannelCountGroupCountStridesDilationRatesPaddingPolicyPaddingSizes

        public static MLCConvolutionDescriptor descriptorWithTypeKernelSizesInputFeatureChannelCountOutputFeatureChannelCountGroupCountStridesDilationRatesPaddingPolicyPaddingSizes​(int convolutionType,
                                                                                                                                                                                     @NotNull
                                                                                                                                                                                     @NotNull NSArray<? extends NSNumber> kernelSizes,
                                                                                                                                                                                     long inputFeatureChannelCount,
                                                                                                                                                                                     long outputFeatureChannelCount,
                                                                                                                                                                                     long groupCount,
                                                                                                                                                                                     @NotNull
                                                                                                                                                                                     @NotNull NSArray<? extends NSNumber> strides,
                                                                                                                                                                                     @NotNull
                                                                                                                                                                                     @NotNull NSArray<? extends NSNumber> dilationRates,
                                                                                                                                                                                     int paddingPolicy,
                                                                                                                                                                                     @Nullable
                                                                                                                                                                                     @Nullable NSArray<? extends NSNumber> paddingSizes)
        Deprecated.
        Creates a convolution descriptor with the specified convolution type.
        Parameters:
        convolutionType - The type of convolution.
        kernelSizes - The kernel sizes in x and y.
        inputFeatureChannelCount - The number of feature channels in the input tensor.
        outputFeatureChannelCount - The number of feature channels in the output tensor. When the convolution type is \p MLCConvolutionTypeDepthwise , this value must be a multiple of \p inputFeatureChannelCount .
        groupCount - The number of groups.
        strides - The kernel strides in x and y.
        dilationRates - The dilation rates in x and y.
        paddingPolicy - The padding policy.
        paddingSizes - The padding sizes in x and y if padding policy is \p MLCPaddingPolicyUsePaddingSize .
        Returns:
        A new convolution descriptor.
      • dilationRateInX

        public long dilationRateInX()
        Deprecated.
        [@property] dilationRateInX The dilation rate i.e. stride of elements in the kernel in x.
      • dilationRateInY

        public long dilationRateInY()
        Deprecated.
        [@property] dilationRateInY The dilation rate i.e. stride of elements in the kernel in y.
      • groupCount

        public long groupCount()
        Deprecated.
        [@property] groupCount Number of blocked connections from input channels to output channels
      • hash_static

        public static long hash_static()
        Deprecated.
      • inputFeatureChannelCount

        public long inputFeatureChannelCount()
        Deprecated.
        [@property] inputFeatureChannelCount Number of channels in the input tensor
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
        Deprecated.
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
        Deprecated.
      • isConvolutionTranspose

        public boolean isConvolutionTranspose()
        Deprecated.
        [@property] isConvolutionTranspose A flag to indicate if this is a convolution transpose
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
        Deprecated.
      • kernelHeight

        public long kernelHeight()
        Deprecated.
        [@property] kernelHeight The convolution kernel size in y.
      • kernelWidth

        public long kernelWidth()
        Deprecated.
        [@property] kernelWidth The convolution kernel size in x.
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
        Deprecated.
      • outputFeatureChannelCount

        public long outputFeatureChannelCount()
        Deprecated.
        [@property] outputFeatureChannelCount Number of channels in the output tensor
      • paddingPolicy

        public int paddingPolicy()
        Deprecated.
        [@property] paddingPolicy The padding policy to use.
      • paddingSizeInX

        public long paddingSizeInX()
        Deprecated.
        [@property] paddingSizeInX The pooling size in x (left and right) to use if paddingPolicy is MLCPaddingPolicyUsePaddingSize
      • paddingSizeInY

        public long paddingSizeInY()
        Deprecated.
        [@property] paddingSizeInY The pooling size in y (top and bottom) to use if paddingPolicy is MLCPaddingPolicyUsePaddingSize
      • 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.
      • strideInX

        public long strideInX()
        Deprecated.
        [@property] strideInX The stride of the kernel in x.
      • strideInY

        public long strideInY()
        Deprecated.
        [@property] strideInY The stride of the kernel in y.
      • superclass_static

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

        public boolean usesDepthwiseConvolution()
        Deprecated.
        [@property] usesDepthwiseConvolution A flag to indicate depthwise convolution
      • version_static

        public static long version_static()
        Deprecated.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.