Package org.robovm.apple.metalps
Class MPSCNNPoolingGradient
- 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.MPSCNNPoolingGradient
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
MPSCNNDilatedPoolingMaxGradient
,MPSCNNPoolingAverageGradient
,MPSCNNPoolingL2NormGradient
,MPSCNNPoolingMaxGradient
public class MPSCNNPoolingGradient extends MPSCNNGradientKernel
- Since:
- Available in iOS 11.3 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPSCNNPoolingGradient.MPSCNNPoolingGradientPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSCNNGradientKernel
MPSCNNGradientKernel.MPSCNNGradientKernelPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSCNNBinaryKernel
MPSCNNBinaryKernel.MPSCNNBinaryKernelPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSKernel
MPSKernel.MPSKernelPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description MPSCNNPoolingGradient()
MPSCNNPoolingGradient(NSCoder decoder)
MPSCNNPoolingGradient(NSCoder decoder, MTLDevice device)
protected
MPSCNNPoolingGradient(NSObject.Handle h, long handle)
protected
MPSCNNPoolingGradient(NSObject.SkipInit skipInit)
MPSCNNPoolingGradient(MTLDevice device, long kernelWidth, long kernelHeight)
MPSCNNPoolingGradient(MTLDevice device, long kernelWidth, long kernelHeight, long strideInPixelsX, long strideInPixelsY)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MTLSize
getSourceSize()
protected long
init(NSCoder decoder, MTLDevice device)
protected long
init(MTLDevice device, long kernelWidth, long kernelHeight)
protected long
init(MTLDevice device, long kernelWidth, long kernelHeight, long strideInPixelsX, long strideInPixelsY)
void
setSourceSize(MTLSize v)
-
Methods inherited from class org.robovm.apple.metalps.MPSCNNGradientKernel
encode, encode, encodeBatchGradients, encodeBatchGradients, getKernelOffsetX, getKernelOffsetY, init, setKernelOffsetX, setKernelOffsetY
-
Methods inherited from class org.robovm.apple.metalps.MPSCNNBinaryKernel
appendBatchBarrier, encode, encode, encode, encodeBatch, encodeBatch, encodeBatch, 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, setSecondaryStrideInPixelsY
-
Methods inherited from class org.robovm.apple.metalps.MPSKernel
copy, encode, getDevice, getLabel, getOptions, init, setLabel, setOptions, supportsSecureCoding
-
Methods 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, willChangeValues
-
-
-
-
Constructor Detail
-
MPSCNNPoolingGradient
public MPSCNNPoolingGradient()
-
MPSCNNPoolingGradient
protected MPSCNNPoolingGradient(NSObject.Handle h, long handle)
-
MPSCNNPoolingGradient
protected MPSCNNPoolingGradient(NSObject.SkipInit skipInit)
-
MPSCNNPoolingGradient
public MPSCNNPoolingGradient(MTLDevice device, long kernelWidth, long kernelHeight)
-
MPSCNNPoolingGradient
public MPSCNNPoolingGradient(MTLDevice device, long kernelWidth, long kernelHeight, long strideInPixelsX, long strideInPixelsY)
-
MPSCNNPoolingGradient
public MPSCNNPoolingGradient(NSCoder decoder)
-
-
Method Detail
-
getSourceSize
public MTLSize getSourceSize()
-
setSourceSize
public void setSourceSize(MTLSize v)
-
init
protected long init(MTLDevice device, long kernelWidth, long kernelHeight)
-
init
protected long init(MTLDevice device, long kernelWidth, long kernelHeight, long strideInPixelsX, long strideInPixelsY)
-
init
protected long init(NSCoder decoder, MTLDevice device)
- Overrides:
init
in classMPSCNNGradientKernel
-
-