Package org.robovm.apple.metalps
Class MPSCNNBatchNormalizationStatisticsGradient
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.metalps.MPSKernel
org.robovm.apple.metalps.MPSCNNBinaryKernel
org.robovm.apple.metalps.MPSCNNGradientKernel
org.robovm.apple.metalps.MPSCNNBatchNormalizationStatisticsGradient
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
public class MPSCNNBatchNormalizationStatisticsGradient extends MPSCNNGradientKernel
- Since:
- Available in iOS 11.3 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMPSCNNBatchNormalizationStatisticsGradient.MPSCNNBatchNormalizationStatisticsGradientPtrNested classes/interfaces inherited from class org.robovm.apple.metalps.MPSCNNGradientKernel
MPSCNNGradientKernel.MPSCNNGradientKernelPtrNested classes/interfaces inherited from class org.robovm.apple.metalps.MPSCNNBinaryKernel
MPSCNNBinaryKernel.MPSCNNBinaryKernelPtrNested classes/interfaces inherited from class org.robovm.apple.metalps.MPSKernel
MPSKernel.MPSKernelPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description MPSCNNBatchNormalizationStatisticsGradient()MPSCNNBatchNormalizationStatisticsGradient(NSCoder coder)MPSCNNBatchNormalizationStatisticsGradient(NSCoder decoder, MTLDevice device)protectedMPSCNNBatchNormalizationStatisticsGradient(NSObject.Handle h, long handle)protectedMPSCNNBatchNormalizationStatisticsGradient(NSObject.SkipInit skipInit)MPSCNNBatchNormalizationStatisticsGradient(MTLDevice device)MPSCNNBatchNormalizationStatisticsGradient(MTLDevice device, MPSNNNeuronDescriptor fusedNeuronDescriptor) -
Method Summary
Modifier and Type Method Description voidencodeBatch(MTLCommandBuffer commandBuffer, NSArray<MPSImage> sourceGradients, NSArray<MPSImage> sourceImages, MPSCNNBatchNormalizationState batchNormalizationState)protected longinit(NSCoder decoder, MTLDevice device)protected longinit(MTLDevice device, MPSNNNeuronDescriptor fusedNeuronDescriptor)static booleansupportsSecureCoding()Methods inherited from class org.robovm.apple.metalps.MPSCNNGradientKernel
encode, encode, encodeBatchGradients, encodeBatchGradients, getKernelOffsetX, getKernelOffsetY, init, setKernelOffsetX, setKernelOffsetYMethods inherited from class org.robovm.apple.metalps.MPSCNNBinaryKernel
appendBatchBarrier, batchEncodingStorageSize, encode, encode, encode, encodeBatch, encodeBatch, encodeBatch, encodingStorageSize, getClipRect, getDestinationFeatureChannelOffset, getDestinationImageAllocator, getDestinationImageDescriptor, getPadding, getPrimaryDilationRateX, getPrimaryDilationRateY, getPrimaryEdgeMode, getPrimaryKernelHeight, getPrimaryKernelWidth, getPrimaryOffset, getPrimarySourceFeatureChannelMaxCount, getPrimarySourceFeatureChannelOffset, getPrimaryStrideInPixelsX, getPrimaryStrideInPixelsY, getResultState, getResultStateBatch, getSecondaryDilationRateX, getSecondaryDilationRateY, getSecondaryEdgeMode, getSecondaryKernelHeight, getSecondaryKernelWidth, getSecondaryOffset, getSecondarySourceFeatureChannelMaxCount, getSecondarySourceFeatureChannelOffset, getSecondaryStrideInPixelsX, getSecondaryStrideInPixelsY, getTemporaryResultState, getTemporaryResultStateBatch, isBackwards, isResultStateReusedAcrossBatch, isStateModified, setClipRect, setDestinationFeatureChannelOffset, setDestinationImageAllocator, setPadding, setPrimaryEdgeMode, setPrimaryOffset, setPrimarySourceFeatureChannelMaxCount, setPrimarySourceFeatureChannelOffset, setPrimaryStrideInPixelsX, setPrimaryStrideInPixelsY, setSecondaryEdgeMode, setSecondaryOffset, setSecondarySourceFeatureChannelMaxCount, setSecondarySourceFeatureChannelOffset, setSecondaryStrideInPixelsX, setSecondaryStrideInPixelsYMethods inherited from class org.robovm.apple.metalps.MPSKernel
copy, encode, getDevice, getLabel, getOptions, init, setLabel, setOptionsMethods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
MPSCNNBatchNormalizationStatisticsGradient
public MPSCNNBatchNormalizationStatisticsGradient() -
MPSCNNBatchNormalizationStatisticsGradient
-
MPSCNNBatchNormalizationStatisticsGradient
-
MPSCNNBatchNormalizationStatisticsGradient
public MPSCNNBatchNormalizationStatisticsGradient(MTLDevice device, MPSNNNeuronDescriptor fusedNeuronDescriptor)- Since:
- Available in iOS 12.0 and later.
-
MPSCNNBatchNormalizationStatisticsGradient
-
MPSCNNBatchNormalizationStatisticsGradient
-
MPSCNNBatchNormalizationStatisticsGradient
-
-
Method Details
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
init
- Since:
- Available in iOS 12.0 and later.
-
init
- Overrides:
initin classMPSCNNGradientKernel
-
encodeBatch
public void encodeBatch(MTLCommandBuffer commandBuffer, NSArray<MPSImage> sourceGradients, NSArray<MPSImage> sourceImages, MPSCNNBatchNormalizationState batchNormalizationState)
-