Class MLCReductionLayer

  • All Implemented Interfaces:
    NSObject

    @Deprecated
    public class MLCReductionLayer
    extends MLCLayer
    Deprecated.
    MLCReductionLayer Reduce tensor values across a given dimension to a scalar value. The layer is used to perform reductionType operation on a given dimension. Result of this layer is a tensor of the same shape as source tensor, except for the given dimension which is set to 1. API-Since: 14.0 Deprecated-Since: 100000.0 Deprecated-Message: Use Metal Performance Shaders Graph or BNNS instead.
    • Constructor Detail

      • MLCReductionLayer

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • allocWithZone

        public static MLCReductionLayer 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.
      • dimension

        public long dimension()
        Deprecated.
        [@property] dimension The dimension over which to perform the reduction operation
      • dimensions

        @NotNull
        public @NotNull NSArray<? extends NSNumber> dimensions()
        Deprecated.
        [@property] dimensions The dimensions over which to perform the reduction operation API-Since: 14.5
      • 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.
      • layerWithReductionTypeDimension

        public static MLCReductionLayer layerWithReductionTypeDimension​(int reductionType,
                                                                        long dimension)
        Deprecated.
        Create a reduction layer.
        Parameters:
        reductionType - The reduction type.
        dimension - The reduction dimension.
        Returns:
        A new reduction layer.
      • layerWithReductionTypeDimensions

        public static MLCReductionLayer layerWithReductionTypeDimensions​(int reductionType,
                                                                         @NotNull
                                                                         @NotNull NSArray<? extends NSNumber> dimensions)
        Deprecated.
        Create a reduction layer.
        Parameters:
        reductionType - The reduction type.
        dimensions - The list of dimensions to reduce over
        Returns:
        A new reduction layer. API-Since: 14.5
      • reductionType

        public int reductionType()
        Deprecated.
        [@property] reductionType The reduction type
      • 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.
      • version_static

        public static long version_static()
        Deprecated.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.