Class MLCTensorData

  • All Implemented Interfaces:
    NSObject

    @Deprecated
    public class MLCTensorData
    extends NSObject
    Deprecated.
    MLCTensorData An object to encapsulate memory to be used as tensor data API-Since: 14.0 Deprecated-Since: 100000.0 Deprecated-Message: Use Metal Performance Shaders Graph or BNNS instead.
    • Constructor Detail

      • MLCTensorData

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • allocWithZone

        public static MLCTensorData allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Deprecated.
      • automaticallyNotifiesObserversForKey

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

        @NotNull
        public @NotNull org.moe.natj.general.ptr.VoidPtr bytes()
        Deprecated.
        [@property] bytes Pointer to memory that contains or will be used for tensor data
      • 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.
      • dataWithBytesNoCopyLength

        public static MLCTensorData dataWithBytesNoCopyLength​(@NotNull
                                                              @NotNull org.moe.natj.general.ptr.VoidPtr bytes,
                                                              long length)
        Deprecated.
        Creates a data object that holds a given number of bytes from a given buffer. [@note] The returned object will not take ownership of the \p bytes pointer and thus will not free it on deallocation.
        Parameters:
        bytes - A buffer containing data for the new object.
        length - The number of bytes to hold from \p bytes. This value must not exceed the length of \p bytes.
        Returns:
        A new \p MLCTensorData object.
      • dataWithBytesNoCopyLengthDeallocator

        public static MLCTensorData dataWithBytesNoCopyLengthDeallocator​(@NotNull
                                                                         @NotNull org.moe.natj.general.ptr.VoidPtr bytes,
                                                                         long length,
                                                                         @NotNull
                                                                         @NotNull MLCTensorData.Block_dataWithBytesNoCopyLengthDeallocator deallocator)
        Deprecated.
        [@absract] Creates a data object that holds a given number of bytes from a given buffer. with a custom deallocator block.
        Parameters:
        bytes - A buffer containing data for the new object.
        length - The number of bytes to hold from \p bytes. This value must not exceed the length of \p bytes.
        deallocator - A block to invoke when the resulting object is deallocated.
        Returns:
        A new \p MLCTensorData object. API-Since: 14.5
      • dataWithImmutableBytesNoCopyLength

        public static MLCTensorData dataWithImmutableBytesNoCopyLength​(@NotNull
                                                                       @NotNull org.moe.natj.general.ptr.ConstVoidPtr bytes,
                                                                       long length)
        Deprecated.
        Creates a data object that holds a given number of bytes from a given buffer. [@note] The returned object will not take ownership of the \p bytes pointer and thus will not free it on deallocation. The underlying bytes in the return object should not be mutated.
        Parameters:
        bytes - A buffer containing data for the new object.
        length - The number of bytes to hold from \p bytes. This value must not exceed the length of \p bytes.
        Returns:
        A new \p MLCTensorData object.
      • debugDescription_static

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

        public static java.lang.String description_static()
        Deprecated.
      • 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.
      • length

        public long length()
        Deprecated.
        [@property] length The size in bytes of the tensor data
      • 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.
      • version_static

        public static long version_static()
        Deprecated.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.