Class MPSGraphConvolution3DOpDescriptor

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class MPSGraphConvolution3DOpDescriptor
    extends MPSGraphObject
    implements NSCopying
    This is a class that describes the properties of a 3d-convolution operator. Use an instance of this class is to add a 3d-convolution operator with desired properties to the graph. API-Since: 16.3
    • Constructor Detail

      • MPSGraphConvolution3DOpDescriptor

        protected MPSGraphConvolution3DOpDescriptor​(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)
      • 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
      • dataLayout

        public long dataLayout()
        The named layout of data in source tensor. It defines the order of named dimensions (Batch, Channel, Depth, Height, Width). The convolution operation uses this to interpret data in the source tensor. For example, if `dataLayout` is `MPSGraphTensorNamedDataLayoutNCDHW`, frameork interprets data in source tensor as `batch x channels x depth x height x width` with `width` as fastest moving dimension.
      • debugDescription_static

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

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

        public static MPSGraphConvolution3DOpDescriptor descriptorWithStrideInXStrideInYStrideInZDilationRateInXDilationRateInYDilationRateInZGroupsPaddingLeftPaddingRightPaddingTopPaddingBottomPaddingFrontPaddingBackPaddingStyleDataLayoutWeightsLayout​(long strideInX,
                                                                                                                                                                                                                                                             long strideInY,
                                                                                                                                                                                                                                                             long strideInZ,
                                                                                                                                                                                                                                                             long dilationRateInX,
                                                                                                                                                                                                                                                             long dilationRateInY,
                                                                                                                                                                                                                                                             long dilationRateInZ,
                                                                                                                                                                                                                                                             long groups,
                                                                                                                                                                                                                                                             long paddingLeft,
                                                                                                                                                                                                                                                             long paddingRight,
                                                                                                                                                                                                                                                             long paddingTop,
                                                                                                                                                                                                                                                             long paddingBottom,
                                                                                                                                                                                                                                                             long paddingFront,
                                                                                                                                                                                                                                                             long paddingBack,
                                                                                                                                                                                                                                                             long paddingStyle,
                                                                                                                                                                                                                                                             long dataLayout,
                                                                                                                                                                                                                                                             long weightsLayout)
        Creates convolution descriptor with given values for parameters. - Parameters: - strideInX: See ``strideInX`` property. - strideInY: See ``strideInY`` property. - strideInZ: See ``strideInZ`` property. - dilationRateInX: See ``dilationRateInX`` property. - dilationRateInY: See ``dilationRateInY`` property. - dilationRateInZ: See ``dilationRateInZ`` property. - groups: See ``groups`` property. - paddingLeft: See ``paddingLeft`` property. - paddingRight: See ``paddingRight`` property. - paddingTop: See ``paddingTop`` property. - paddingBottom: See ``paddingBottom`` property. - paddingFront: See ``paddingFront`` property. - paddingBack: See ``paddingBack`` property. - paddingStyle: See ``paddingStyle`` property. - dataLayout: See ``dataLayout`` property. - weightsLayout: See ``weightsLayout`` property. - Returns: The `MPSGraphConvolution3DOpDescriptor` on autoreleasepool.
      • descriptorWithStrideInXStrideInYStrideInZDilationRateInXDilationRateInYDilationRateInZGroupsPaddingStyleDataLayoutWeightsLayout

        public static MPSGraphConvolution3DOpDescriptor descriptorWithStrideInXStrideInYStrideInZDilationRateInXDilationRateInYDilationRateInZGroupsPaddingStyleDataLayoutWeightsLayout​(long strideInX,
                                                                                                                                                                                        long strideInY,
                                                                                                                                                                                        long strideInZ,
                                                                                                                                                                                        long dilationRateInX,
                                                                                                                                                                                        long dilationRateInY,
                                                                                                                                                                                        long dilationRateInZ,
                                                                                                                                                                                        long groups,
                                                                                                                                                                                        long paddingStyle,
                                                                                                                                                                                        long dataLayout,
                                                                                                                                                                                        long weightsLayout)
        Creates convolution descriptor with given values for parameters. - Parameters: - strideInX: See ``strideInX`` property. - strideInY: See ``strideInY`` property. - strideInZ: See ``strideInZ`` property. - dilationRateInX: See ``dilationRateInX`` property. - dilationRateInY: See ``dilationRateInY`` property. - dilationRateInZ: See ``dilationRateInZ`` property. - groups: See ``groups`` property. - paddingStyle: See ``paddingStyle`` property. - dataLayout: See ``dataLayout`` property. - weightsLayout: See ``weightsLayout`` property. - Returns: The `MPSGraphConvolution3DOpDescriptor` on autoreleasepool.
      • dilationRateInX

        public long dilationRateInX()
        The amount by which weights tensor is expanded in `x`-direction. The weights tensor is dilated by inserting `dilationRateInX-1` zeros between consecutive values in `x`-dimension. Dilated weights tensor width is `(dilationRateInX-1)*kernelWidth+1`. Default value is 1.
      • dilationRateInY

        public long dilationRateInY()
        The amount by which weights tensor is expanded in `y`-direction. The weights tensor is dilated by inserting `dilationRateInY-1` zeros between consecutive values in `y`-dimension. Dilated weights tensor width is `(dilationRateInY-1)*kernelHeight+1`. Default value is 1.
      • dilationRateInZ

        public long dilationRateInZ()
        The amount by which weights tensor is expanded in `z`-direction. The weights tensor is dilated by inserting `dilationRateInZ-1` zeros between consecutive values in `z`-dimension. Dilated weights tensor depth is `(dilationRateInZ-1)*kernelDepth+1`. Default value is 1.
      • groups

        public long groups()
        The number of paritions of input and output channels. The convolution operation divides input and output channels in `groups` partitions. input channels in a group or partition are only connected to output channels in corresponding group. Number of weights the convolution needs is `outputFeatureChannels x inputFeatureChannels/groups x kernelDepth x kernelWidth x kernelHeight`
      • 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)
      • paddingBack

        public long paddingBack()
        The number of zeros that are added at the back of the source tensor.
      • paddingBottom

        public long paddingBottom()
        The number of zeros that are added at the bottom of the source tensor.
      • paddingFront

        public long paddingFront()
        The number of zeros that are added at the front of the source tensor.
      • paddingLeft

        public long paddingLeft()
        The number of zeros that are added on the left side of the source tensor.
      • paddingRight

        public long paddingRight()
        The number of zeros that are added on the right side of the source tensor.
      • paddingStyle

        public long paddingStyle()
        The type of padding that is applied to the source tensor. If paddingStyle is `MPSGraphPaddingStyleExplicit`, `paddingLeft`, `laddingRight`, `paddingTop`, `paddingBottom`, `paddingFront` and `paddingBack` must to be specified. For all other padding styles, framework compute these values so you dont need to provide these values.
      • paddingTop

        public long paddingTop()
        The number of zeros that are added at the top of the source tensor.
      • resolveClassMethod

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

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

        public void setDataLayout​(long value)
        The named layout of data in source tensor. It defines the order of named dimensions (Batch, Channel, Depth, Height, Width). The convolution operation uses this to interpret data in the source tensor. For example, if `dataLayout` is `MPSGraphTensorNamedDataLayoutNCDHW`, frameork interprets data in source tensor as `batch x channels x depth x height x width` with `width` as fastest moving dimension.
      • setDilationRateInX

        public void setDilationRateInX​(long value)
        The amount by which weights tensor is expanded in `x`-direction. The weights tensor is dilated by inserting `dilationRateInX-1` zeros between consecutive values in `x`-dimension. Dilated weights tensor width is `(dilationRateInX-1)*kernelWidth+1`. Default value is 1.
      • setDilationRateInY

        public void setDilationRateInY​(long value)
        The amount by which weights tensor is expanded in `y`-direction. The weights tensor is dilated by inserting `dilationRateInY-1` zeros between consecutive values in `y`-dimension. Dilated weights tensor width is `(dilationRateInY-1)*kernelHeight+1`. Default value is 1.
      • setDilationRateInZ

        public void setDilationRateInZ​(long value)
        The amount by which weights tensor is expanded in `z`-direction. The weights tensor is dilated by inserting `dilationRateInZ-1` zeros between consecutive values in `z`-dimension. Dilated weights tensor depth is `(dilationRateInZ-1)*kernelDepth+1`. Default value is 1.
      • setExplicitPaddingWithPaddingLeftPaddingRightPaddingTopPaddingBottomPaddingFrontPaddingBack

        public void setExplicitPaddingWithPaddingLeftPaddingRightPaddingTopPaddingBottomPaddingFrontPaddingBack​(long paddingLeft,
                                                                                                                long paddingRight,
                                                                                                                long paddingTop,
                                                                                                                long paddingBottom,
                                                                                                                long paddingFront,
                                                                                                                long paddingBack)
        Sets the left, right, top, bottom, front and back padding values. - Parameters: - paddingLeft: See ``paddingLeft`` property. - paddingRight: See ``paddingRight`` property. - paddingTop: See ``paddingTop`` property. - paddingBottom: See ``paddingBottom`` property. - paddingFront: See ``paddingFront`` property. - paddingBottom: See ``paddingBottom`` property.
      • setGroups

        public void setGroups​(long value)
        The number of paritions of input and output channels. The convolution operation divides input and output channels in `groups` partitions. input channels in a group or partition are only connected to output channels in corresponding group. Number of weights the convolution needs is `outputFeatureChannels x inputFeatureChannels/groups x kernelDepth x kernelWidth x kernelHeight`
      • setPaddingBack

        public void setPaddingBack​(long value)
        The number of zeros that are added at the back of the source tensor.
      • setPaddingBottom

        public void setPaddingBottom​(long value)
        The number of zeros that are added at the bottom of the source tensor.
      • setPaddingFront

        public void setPaddingFront​(long value)
        The number of zeros that are added at the front of the source tensor.
      • setPaddingLeft

        public void setPaddingLeft​(long value)
        The number of zeros that are added on the left side of the source tensor.
      • setPaddingRight

        public void setPaddingRight​(long value)
        The number of zeros that are added on the right side of the source tensor.
      • setPaddingStyle

        public void setPaddingStyle​(long value)
        The type of padding that is applied to the source tensor. If paddingStyle is `MPSGraphPaddingStyleExplicit`, `paddingLeft`, `laddingRight`, `paddingTop`, `paddingBottom`, `paddingFront` and `paddingBack` must to be specified. For all other padding styles, framework compute these values so you dont need to provide these values.
      • setPaddingTop

        public void setPaddingTop​(long value)
        The number of zeros that are added at the top of the source tensor.
      • setStrideInX

        public void setStrideInX​(long value)
        The scale that maps`x`-coordinate of destination to `x`-coordinate of source. Source `x`-coordiante, `sx` is computed from destination `x`-coordinate, `dx` as `sx = strideInX*dx`. Default value is 1.
      • setStrideInY

        public void setStrideInY​(long value)
        The scale that maps`y`-coordinate of destination to `y`-coordinate of source. Source `y`-coordiante, `sy` is computed from destination `y`-coordinate, `dy` as `sy = strideInY*dy`. Default value is 1.
      • setStrideInZ

        public void setStrideInZ​(long value)
        The scale that maps`z`-coordinate of destination to `z`-coordinate of source. Source `z`-coordiante, `sz` is computed from destination `z`-coordinate, `dz` as `sz = strideInZ*dz`. Default value is 1.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • setWeightsLayout

        public void setWeightsLayout​(long value)
        The named layout of data in weights tensor. It defines the order of named dimensions (Output channels, Input channels, Kernel depth, Kernel height, Kernel width). The convolution operation uses this to interpret data in the weights tensor. For example, if `weightsLayout` is `MPSGraphTensorNamedDataLayoutOIDHW`, frameork interprets data in weights tensor as `outputChannels x inputChannels x kernelDepth x kernelHeight x kernelWidth` with `kernelWidth` as fastest moving dimension.
      • strideInX

        public long strideInX()
        The scale that maps`x`-coordinate of destination to `x`-coordinate of source. Source `x`-coordiante, `sx` is computed from destination `x`-coordinate, `dx` as `sx = strideInX*dx`. Default value is 1.
      • strideInY

        public long strideInY()
        The scale that maps`y`-coordinate of destination to `y`-coordinate of source. Source `y`-coordiante, `sy` is computed from destination `y`-coordinate, `dy` as `sy = strideInY*dy`. Default value is 1.
      • strideInZ

        public long strideInZ()
        The scale that maps`z`-coordinate of destination to `z`-coordinate of source. Source `z`-coordiante, `sz` is computed from destination `z`-coordinate, `dz` as `sz = strideInZ*dz`. Default value is 1.
      • superclass_static

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

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.
      • version_static

        public static long version_static()
      • weightsLayout

        public long weightsLayout()
        The named layout of data in weights tensor. It defines the order of named dimensions (Output channels, Input channels, Kernel depth, Kernel height, Kernel width). The convolution operation uses this to interpret data in the weights tensor. For example, if `weightsLayout` is `MPSGraphTensorNamedDataLayoutOIDHW`, frameork interprets data in weights tensor as `outputChannels x inputChannels x kernelDepth x kernelHeight x kernelWidth` with `kernelWidth` as fastest moving dimension.