Class MPSGraphCompilationDescriptor

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class MPSGraphCompilationDescriptor
    extends MPSGraphObject
    implements NSCopying
    This is a class that consists of all the levers for compiling graphs. API-Since: 15.0
    • Constructor Detail

      • MPSGraphCompilationDescriptor

        protected MPSGraphCompilationDescriptor​(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()
      • debugDescription_static

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

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

        public void disableTypeInference()
        Turns off type inference and relies on type inference during runtime.
      • 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)
      • resolveClassMethod

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

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

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        public static long version_static()
      • copyWithZone

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

        @NotNull
        public @NotNull dispatch_queue_t dispatchQueue()
        The dispatch queue used for the compilation, default value is nil. API-Since: 16.0
      • optimizationLevel

        public long optimizationLevel()
        The optimization level for the graph execution, default is MPSGraphOptimizationLevel1. API-Since: 15.4
      • optimizationProfile

        @Deprecated
        public long optimizationProfile()
        Deprecated.
        The optimization profile for the graph optimization, default is MPSGraphOptimizationProfilePerformance. API-Since: 15.4 Deprecated-Since: 17.0
      • setDispatchQueue

        public void setDispatchQueue​(@NotNull
                                     @NotNull dispatch_queue_t value)
        The dispatch queue used for the compilation, default value is nil. API-Since: 16.0
      • setOptimizationLevel

        public void setOptimizationLevel​(long value)
        The optimization level for the graph execution, default is MPSGraphOptimizationLevel1. API-Since: 15.4
      • setOptimizationProfile

        @Deprecated
        public void setOptimizationProfile​(long value)
        Deprecated.
        The optimization profile for the graph optimization, default is MPSGraphOptimizationProfilePerformance. API-Since: 15.4 Deprecated-Since: 17.0
      • setWaitForCompilationCompletion

        public void setWaitForCompilationCompletion​(boolean value)
        Flag that makes the compile or specialize call blocking till the entire compilation is complete, defaults to NO. API-Since: 16.0
      • waitForCompilationCompletion

        public boolean waitForCompilationCompletion()
        Flag that makes the compile or specialize call blocking till the entire compilation is complete, defaults to NO. API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.