Package apple.metalperformanceshaders
Class MPSNDArrayMultiaryBase
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.metalperformanceshaders.MPSKernel
-
- apple.metalperformanceshaders.MPSNDArrayMultiaryBase
-
- All Implemented Interfaces:
NSCoding,NSCopying,NSSecureCoding,NSObject
- Direct Known Subclasses:
MPSNDArrayMultiaryGradientKernel,MPSNDArrayMultiaryKernel
public class MPSNDArrayMultiaryBase extends MPSKernel
API-Since: 13.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMPSNDArrayMultiaryBase(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.static booleanaccessInstanceVariablesDirectly()static MPSNDArrayMultiaryBasealloc()static MPSNDArrayMultiaryBaseallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()@NotNull MPSNDArrayMultiaryBasecopyWithZoneDevice(@Nullable org.moe.natj.general.ptr.VoidPtr zone, @Nullable MTLDevice device)Create a copy withstatic java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()@NotNull MPSNDArrayAllocatordestinationArrayAllocator()Method to allocate the result image for -encodeToCommandBuffer:sourceImage: Default: MPSTemporaryImage.defaultAllocator@NotNull MPSNDArrayDescriptordestinationArrayDescriptorForSourceArraysSourceState(@NotNull NSArray<? extends MPSNDArray> sources, @Nullable MPSState state)Return a descriptor suitable for allocating a NSArray to receive the result The object properties (kernelSize, offsets, edgeMode, etc.) should be properly configured as if the -encode call was about to be made, before this method is called.MPSNDArraySizesdilationRatesForSourceIndex(long sourceIndex)Deprecated.longedgeModeAtSourceIndex(long sourceIndex)Deprecated.voidencodeWithCoder(@NotNull NSCoder coder)Initialize a MPSNDArrayMultiaryKernel from a NSCoderstatic longhash_static()MPSNDArrayMultiaryBaseinit()MPSNDArrayMultiaryBaseinitWithCoder(@NotNull NSCoder aDecoder)NS_DESIGNATED_INITIALIZERMPSNDArrayMultiaryBaseinitWithCoderDevice(@NotNull NSCoder coder, @NotNull java.lang.Object device)Initialize a MPSNDArrayMultiaryKernel from a NSCoderMPSNDArrayMultiaryBaseinitWithDevice(@NotNull java.lang.Object device)Standard init with default properties per filter typeMPSNDArrayMultiaryBaseinitWithDeviceSourceCount(@NotNull MTLDevice device, long count)Initialize a MPSNDArrayMultiaryKernelstatic NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)MPSNDArraySizeskernelSizesForSourceIndex(long sourceIndex)Deprecated.static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static MPSNDArrayMultiaryBasenew_objc()MPSNDArrayOffsetsoffsetsAtSourceIndex(long sourceIndex)Deprecated.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)@Nullable MPSStateresultStateForSourceArraysSourceStatesDestinationArray(@NotNull NSArray<? extends MPSNDArray> sourceArrays, @Nullable NSArray<? extends MPSState> sourceStates, @NotNull MPSNDArray destinationArray)voidsetDestinationArrayAllocator(@NotNull MPSNDArrayAllocator value)Method to allocate the result image for -encodeToCommandBuffer:sourceImage: Default: MPSTemporaryImage.defaultAllocatorstatic voidsetVersion_static(long aVersion)MPSNDArrayOffsetsstridesForSourceIndex(long sourceIndex)Deprecated.static org.moe.natj.objc.Classsuperclass_static()static booleansupportsSecureCoding()static booleanuseStoredAccessor()Deprecated.static longversion_static()-
Methods inherited from class apple.metalperformanceshaders.MPSKernel
copyWithZone, device, label, options, setLabel, setOptions
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static MPSNDArrayMultiaryBase alloc()
-
allocWithZone
public static MPSNDArrayMultiaryBase allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
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()
-
copyWithZoneDevice
@NotNull public @NotNull MPSNDArrayMultiaryBase copyWithZoneDevice(@Nullable @Nullable org.moe.natj.general.ptr.VoidPtr zone, @Nullable @Nullable MTLDevice device)
Create a copy with- Overrides:
copyWithZoneDevicein classMPSKernel- Parameters:
zone- The NSZone in which to allocate the MPSNDArrayMultiaryKernel objectdevice- The device on which the new kernel will run. Pass nil for same device.- Returns:
- A valid MPSNDArrayMultiaryKernel, or nil if allocation failure.
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
destinationArrayAllocator
@NotNull public @NotNull MPSNDArrayAllocator destinationArrayAllocator()
Method to allocate the result image for -encodeToCommandBuffer:sourceImage: Default: MPSTemporaryImage.defaultAllocator
-
destinationArrayDescriptorForSourceArraysSourceState
@NotNull public @NotNull MPSNDArrayDescriptor destinationArrayDescriptorForSourceArraysSourceState(@NotNull @NotNull NSArray<? extends MPSNDArray> sources, @Nullable @Nullable MPSState state)
Return a descriptor suitable for allocating a NSArray to receive the result The object properties (kernelSize, offsets, edgeMode, etc.) should be properly configured as if the -encode call was about to be made, before this method is called. Those properties may affect the results.- Parameters:
sources- The list of sources passed into the -encode callstate- The source state object, if any passed to the -encode call- Returns:
- a valid MPSNDArrayDescriptor that may be used to create a MPSNDArray to used to hold the results of this kernel.
-
dilationRatesForSourceIndex
@Deprecated public MPSNDArraySizes dilationRatesForSourceIndex(long sourceIndex)
Deprecated.Get the kernel dilation rate for each dimension- Parameters:
sourceIndex- The index of the source image for which this applies- Returns:
- The kernel dilation rate for each dimension. API-Since: 13.0 Deprecated-Since: 14.0
-
edgeModeAtSourceIndex
@Deprecated public long edgeModeAtSourceIndex(long sourceIndex)
Deprecated.The edge mode used for each source NDArray- Parameters:
sourceIndex- The index of the source image- Returns:
- The MPSImageEdgeMode for that image API-Since: 13.0 Deprecated-Since: 14.0
-
encodeWithCoder
public void encodeWithCoder(@NotNull @NotNull NSCoder coder)Initialize a MPSNDArrayMultiaryKernel from a NSCoder- Specified by:
encodeWithCoderin interfaceNSCoding- Overrides:
encodeWithCoderin classMPSKernel- Parameters:
coder- The NSCoder that contains the serialized object
-
hash_static
public static long hash_static()
-
init
public MPSNDArrayMultiaryBase init()
-
initWithCoder
public MPSNDArrayMultiaryBase initWithCoder(@NotNull @NotNull NSCoder aDecoder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classMPSKernel
-
initWithCoderDevice
public MPSNDArrayMultiaryBase initWithCoderDevice(@NotNull @NotNull NSCoder coder, @NotNull @NotNull java.lang.Object device)
Initialize a MPSNDArrayMultiaryKernel from a NSCoder- Overrides:
initWithCoderDevicein classMPSKernel- Parameters:
coder- The NSCoder that contains the serialized objectdevice- The device on which the kernel will run- Returns:
- A valid MPSNDArrayMultiaryKernel, or nil if allocation failure.
-
initWithDevice
public MPSNDArrayMultiaryBase initWithDevice(@NotNull @NotNull java.lang.Object device)
Description copied from class:MPSKernelStandard init with default properties per filter type- Overrides:
initWithDevicein classMPSKernel- Parameters:
device- The device that the filter will be used on. May not be NULL.- Returns:
- a pointer to the newly initialized object. This will fail, returning nil if the device is not supported. Devices must be MTLFeatureSet_iOS_GPUFamily2_v1 or later.
-
initWithDeviceSourceCount
public MPSNDArrayMultiaryBase initWithDeviceSourceCount(@NotNull @NotNull MTLDevice device, long count)
Initialize a MPSNDArrayMultiaryKernel- Parameters:
device- The device on which the kernel will runcount- The maximum number of NDArrays read by the kernel- Returns:
- A valid MPSNDArrayMultiaryKernel, or nil if allocation failure.
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
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)
-
kernelSizesForSourceIndex
@Deprecated public MPSNDArraySizes kernelSizesForSourceIndex(long sourceIndex)
Deprecated.Get the diameters of the point spread function (PSF) in each dimension- Parameters:
sourceIndex- The MPSNDArrayMultiaryKernel source NDArray to which the kernel will be applied- Returns:
- A list of kernel diameters in each dimension API-Since: 13.0 Deprecated-Since: 14.0
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
new_objc
public static MPSNDArrayMultiaryBase new_objc()
-
offsetsAtSourceIndex
@Deprecated public MPSNDArrayOffsets offsetsAtSourceIndex(long sourceIndex)
Deprecated.Read offsets to use when addressing a source NDArray The coordinate of the position read from this source array which is used to calculate the result value at [0,0,0,....] If the position read is actually a contiguous region (e.g. the area covered by a convolution kernel) then this is the center of that region, rounded down, for each dimension.- Parameters:
sourceIndex- The index of the source MPSNDArray to which the list of offsets is applied API-Since: 13.0 Deprecated-Since: 14.0
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
resultStateForSourceArraysSourceStatesDestinationArray
@Nullable public @Nullable MPSState resultStateForSourceArraysSourceStatesDestinationArray(@NotNull @NotNull NSArray<? extends MPSNDArray> sourceArrays, @Nullable @Nullable NSArray<? extends MPSState> sourceStates, @NotNull @NotNull MPSNDArray destinationArray)
-
setDestinationArrayAllocator
public void setDestinationArrayAllocator(@NotNull @NotNull MPSNDArrayAllocator value)Method to allocate the result image for -encodeToCommandBuffer:sourceImage: Default: MPSTemporaryImage.defaultAllocator
-
setVersion_static
public static void setVersion_static(long aVersion)
-
stridesForSourceIndex
@Deprecated public MPSNDArrayOffsets stridesForSourceIndex(long sourceIndex)
Deprecated.Return the downsampling ratio for the kernel in each dimension If the filter is a "backwards" filter such as a gradient filter or convolution transpose, then this is the upsampling ratio and zeros are inserted in the result.- Parameters:
sourceIndex- The index of the source for which the strides apply- Returns:
- The strides from one destination sample to the next in each dimension of the corresponding source NDArray API-Since: 13.0 Deprecated-Since: 14.0
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
_supportsSecureCoding
public boolean _supportsSecureCoding()
Description copied from interface:NSSecureCodingThis property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.- Specified by:
_supportsSecureCodingin interfaceNSSecureCoding- Overrides:
_supportsSecureCodingin classMPSKernel
-
version_static
public static long version_static()
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-