Class MPSGraphDepthwiseConvolution3DOpDescriptor

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class MPSGraphDepthwiseConvolution3DOpDescriptor
    extends MPSGraphObject
    implements NSCopying
    This class defines parameters for a 3d depthwise convolution operation. A `MPSGraphDepthwiseConvolution3DOpDescriptor` defines constant parameters for 3d depthwise convolutions. Use this class with ``MPSGraph/depthwiseConvolution3DWithSourceTensor:weightsTensor:descriptor:name:``, ``MPSGraph/depthwiseConvolution3DDataGradientWithIncomingGradientTensor:weightsTensor:outputShape:descriptor:name:`` and ``MPSGraph/depthwiseConvolution3DWeightsGradientWithIncomingGradientTensor:sourceTensor:outputShape:descriptor:name:`` methods. API-Since: 15.0
    • Constructor Detail

      • MPSGraphDepthwiseConvolution3DOpDescriptor

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

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

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • 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)
      • channelDimensionIndex

        public long channelDimensionIndex()
        The axis that contains the channels in the input and the weights, within the 4d tile of the last dimensions. For example the value of `-1` corresponds to `NDHWC`, `NHWC` layouts. This allows the placement of the channel index anywhere within the last 4 dimensions of the tensor. In case your weights are in a different layout you can bring them to the same layout as inputs using transposes or permutations. Default value: `-4`, corresponds to `NCDHW` and `CDHW` layouts.
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • debugDescription_static

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

        public static java.lang.String description_static()
      • descriptorWithPaddingStyle

        public static MPSGraphDepthwiseConvolution3DOpDescriptor descriptorWithPaddingStyle​(long paddingStyle)
        Creates a 3d depthwise convolution descriptor with default values. - Parameters: - paddingStyle: See `paddingStyle` property. - Returns: The descriptor on autoreleasepool.
      • descriptorWithStridesDilationRatesPaddingValuesPaddingStyle

        public static MPSGraphDepthwiseConvolution3DOpDescriptor descriptorWithStridesDilationRatesPaddingValuesPaddingStyle​(@NotNull
                                                                                                                             @NotNull NSArray<? extends NSNumber> strides,
                                                                                                                             @NotNull
                                                                                                                             @NotNull NSArray<? extends NSNumber> dilationRates,
                                                                                                                             @NotNull
                                                                                                                             @NotNull NSArray<? extends NSNumber> paddingValues,
                                                                                                                             long paddingStyle)
        Creates a 3d depthwise convolution descriptor with given values. - Parameters: - strides: See `strides` property. - dilationRates: See `dilationRates` property. - paddingValues: See `paddingValues` property. - paddingStyle: See `paddingStyle` property. - Returns: The descriptor on autoreleasepool.
      • dilationRates

        @NotNull
        public @NotNull NSArray<? extends NSNumber> dilationRates()
        The dilation rates for spatial dimensions. Must be three numbers, one for each spatial dimension, fastest running index last. Default value: `@[ @1, @1, @1 ]`
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

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

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

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

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

        public long paddingStyle()
        The padding style for the operation. Default value: `MPSGraphPaddingStyleExplicit`.
      • paddingValues

        @NotNull
        public @NotNull NSArray<? extends NSNumber> paddingValues()
        The padding values for spatial dimensions. Must be six numbers, two for each spatial dimension. For example `paddingValues[0]` defines the explicit padding amount before the first spatial dimension (slowest running index of spatial dimensions), `paddingValues[1]` defines the padding amount after the first spatial dimension etc. Use only with `paddingStyle = MPSGraphPaddingStyleExplicit`. Default value: `@[ @0, @0, @0, @0, @0, @0 ]`
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setChannelDimensionIndex

        public void setChannelDimensionIndex​(long value)
        The axis that contains the channels in the input and the weights, within the 4d tile of the last dimensions. For example the value of `-1` corresponds to `NDHWC`, `NHWC` layouts. This allows the placement of the channel index anywhere within the last 4 dimensions of the tensor. In case your weights are in a different layout you can bring them to the same layout as inputs using transposes or permutations. Default value: `-4`, corresponds to `NCDHW` and `CDHW` layouts.
      • setDilationRates

        public void setDilationRates​(@NotNull
                                     @NotNull NSArray<? extends NSNumber> value)
        The dilation rates for spatial dimensions. Must be three numbers, one for each spatial dimension, fastest running index last. Default value: `@[ @1, @1, @1 ]`
      • setPaddingStyle

        public void setPaddingStyle​(long value)
        The padding style for the operation. Default value: `MPSGraphPaddingStyleExplicit`.
      • setPaddingValues

        public void setPaddingValues​(@NotNull
                                     @NotNull NSArray<? extends NSNumber> value)
        The padding values for spatial dimensions. Must be six numbers, two for each spatial dimension. For example `paddingValues[0]` defines the explicit padding amount before the first spatial dimension (slowest running index of spatial dimensions), `paddingValues[1]` defines the padding amount after the first spatial dimension etc. Use only with `paddingStyle = MPSGraphPaddingStyleExplicit`. Default value: `@[ @0, @0, @0, @0, @0, @0 ]`
      • setStrides

        public void setStrides​(@NotNull
                               @NotNull NSArray<? extends NSNumber> value)
        The strides for spatial dimensions. Must be three numbers, one for each spatial dimension, fastest running index last. Default value: `@[ @1, @1, @1 ]`
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • strides

        @NotNull
        public @NotNull NSArray<? extends NSNumber> strides()
        The strides for spatial dimensions. Must be three numbers, one for each spatial dimension, fastest running index last. Default value: `@[ @1, @1, @1 ]`
      • superclass_static

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

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.