NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
MLCTensorDescriptor(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static MLCTensorDescriptor |
alloc() |
static MLCTensorDescriptor |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
NSArray<? extends NSNumber> |
batchSizePerSequenceStep()
[@property] batchSizePerSequenceStep
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static MLCTensorDescriptor |
convolutionBiasesDescriptorWithFeatureChannelCountDataType(long featureChannelCount,
int dataType)
Create a MLCTensorDescriptor object
|
static MLCTensorDescriptor |
convolutionWeightsDescriptorWithInputFeatureChannelCountOutputFeatureChannelCountDataType(long inputFeatureChannelCount,
long outputFeatureChannelCount,
int dataType)
Create a MLCTensorDescriptor object
|
static MLCTensorDescriptor |
convolutionWeightsDescriptorWithWidthHeightInputFeatureChannelCountOutputFeatureChannelCountDataType(long width,
long height,
long inputFeatureChannelCount,
long outputFeatureChannelCount,
int dataType)
Create a MLCTensorDescriptor object
|
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
int |
dataType()
[@property] dataType
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static MLCTensorDescriptor |
descriptorWithShapeDataType(NSArray<? extends NSNumber> shape,
int dataType)
Create a MLCTensorDescriptor object
|
static MLCTensorDescriptor |
descriptorWithShapeSequenceLengthsSortedSequencesDataType(NSArray<? extends NSNumber> shape,
NSArray<? extends NSNumber> sequenceLengths,
boolean sortedSequences,
int dataType)
Create a MLCTensorDescriptor object
|
static MLCTensorDescriptor |
descriptorWithWidthHeightFeatureChannelCountBatchSize(long width,
long height,
long featureChannels,
long batchSize)
Create a MLCTensorDescriptor object
|
static MLCTensorDescriptor |
descriptorWithWidthHeightFeatureChannelCountBatchSizeDataType(long width,
long height,
long featureChannelCount,
long batchSize,
int dataType)
Create a MLCTensorDescriptor object
|
long |
dimensionCount()
[@property] dimensionCount
|
static long |
hash_static() |
MLCTensorDescriptor |
init() |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static long |
maxTensorDimensions()
[@property] maxTensorDimensions
|
static MLCTensorDescriptor |
new_objc() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
NSArray<? extends NSNumber> |
sequenceLengths()
[@property] sequenceLengths
|
static void |
setVersion_static(long aVersion) |
NSArray<? extends NSNumber> |
shape()
[@property] shape
|
boolean |
sortedSequences()
[@property] sortedSequences
|
NSArray<? extends NSNumber> |
stride()
[@property] stride
|
static org.moe.natj.objc.Class |
superclass_static() |
long |
tensorAllocationSizeInBytes()
[@property] tensorAllocationSizeInBytes
|
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, 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, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected MLCTensorDescriptor(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static MLCTensorDescriptor alloc()
public static MLCTensorDescriptor allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public NSArray<? extends NSNumber> batchSizePerSequenceStep()
The batch size for each sequence
We populate this only when sequenceLengths is valid. The length of this array should be the maximum sequence length in sequenceLengths (i.e sequenceLengths[0]).
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static MLCTensorDescriptor convolutionBiasesDescriptorWithFeatureChannelCountDataType(long featureChannelCount, int dataType)
This method is provided as an easy to use API to create a bias tensor.
featureChannelCount - The number of input feature channelsdataType - The tensor data typepublic static MLCTensorDescriptor convolutionWeightsDescriptorWithInputFeatureChannelCountOutputFeatureChannelCountDataType(long inputFeatureChannelCount, long outputFeatureChannelCount, int dataType)
This method is provided as an easy to use API to create a weight tensor for a kernel of size 1.
inputFeatureChannelCount - The number of input feature channelsoutputFeatureChannelCount - The number of output feature channelsdataType - The tensor data typepublic static MLCTensorDescriptor convolutionWeightsDescriptorWithWidthHeightInputFeatureChannelCountOutputFeatureChannelCountDataType(long width, long height, long inputFeatureChannelCount, long outputFeatureChannelCount, int dataType)
This method is provided as an easy to use API to create a weight tensor.
width - The tensor widthheight - The tensor heightinputFeatureChannelCount - The number of input feature channelsoutputFeatureChannelCount - The number of output feature channelsdataType - The tensor data typepublic java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic int dataType()
The tensor data type. The default is MLCDataTypeFloat32.
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static MLCTensorDescriptor descriptorWithShapeDataType(NSArray<? extends NSNumber> shape, int dataType)
shape - The tensor shapedataType - The tensor data typepublic static MLCTensorDescriptor descriptorWithShapeSequenceLengthsSortedSequencesDataType(NSArray<? extends NSNumber> shape, NSArray<? extends NSNumber> sequenceLengths, boolean sortedSequences, int dataType)
This method is provided as an easy to use API to create sequence tensors used by recurrent layers.
shape - The tensor shapesequenceLengths - The sequence lengths in tensorsortedSequences - A boolean to indicate whether sequences are sorteddataType - The tensor data typepublic static MLCTensorDescriptor descriptorWithWidthHeightFeatureChannelCountBatchSize(long width, long height, long featureChannels, long batchSize)
This method is provided as an easy to use API to create [NCHW] tensors used by convolutional layers.
width - The tensor widthheight - The tensor heightfeatureChannels - The number of feature channelsbatchSize - The batch sizepublic static MLCTensorDescriptor descriptorWithWidthHeightFeatureChannelCountBatchSizeDataType(long width, long height, long featureChannelCount, long batchSize, int dataType)
This method is provided as an easy to use API to create [NCHW] tensors used by convolutional layers.
width - The tensor widthheight - The tensor heightfeatureChannelCount - The number of feature channelsbatchSize - The batch sizedataType - The tensor data typepublic long dimensionCount()
The number of dimensions in the tensor
public static long hash_static()
public MLCTensorDescriptor init()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static long maxTensorDimensions()
The maximum number of tensor dimensions supported
public static MLCTensorDescriptor new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public NSArray<? extends NSNumber> sequenceLengths()
TODO
public static void setVersion_static(long aVersion)
public boolean sortedSequences()
Specifies whether the sequences are sorted or not.
public NSArray<? extends NSNumber> stride()
The stride in bytes in each dimension
public static org.moe.natj.objc.Class superclass_static()
public long tensorAllocationSizeInBytes()
The allocation size in bytes for a tensor.
public static long version_static()