Package org.robovm.apple.metalps
Class MPSNNPad
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
public class MPSNNPad extends MPSCNNKernel
- Since:
- Available in iOS 12.1 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMPSNNPad.MPSNNPadPtrNested classes/interfaces inherited from class org.robovm.apple.metalps.MPSCNNKernel
MPSCNNKernel.MPSCNNKernelPtrNested 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
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description MPSNNPad()MPSNNPad(NSCoder coder)MPSNNPad(NSCoder decoder, MTLDevice device)protectedMPSNNPad(NSObject.Handle h, long handle)protectedMPSNNPad(NSObject.SkipInit skipInit)MPSNNPad(MTLDevice device)MPSNNPad(MTLDevice device, MPSImageCoordinate paddingSizeBefore, MPSImageCoordinate paddingSizeAfter)MPSNNPad(MTLDevice device, MPSImageCoordinate paddingSizeBefore, MPSImageCoordinate paddingSizeAfter, NSData fillValueArray) -
Method Summary
Modifier and Type Method Description floatgetFillValue()MPSImageCoordinategetPaddingSizeAfter()MPSImageCoordinategetPaddingSizeBefore()protected longinit(NSCoder decoder, MTLDevice device)protected longinit(MTLDevice device)protected longinit(MTLDevice device, MPSImageCoordinate paddingSizeBefore, MPSImageCoordinate paddingSizeAfter)protected longinit(MTLDevice device, MPSImageCoordinate paddingSizeBefore, MPSImageCoordinate paddingSizeAfter, NSData fillValueArray)voidsetFillValue(float v)voidsetPaddingSizeAfter(MPSImageCoordinate v)voidsetPaddingSizeBefore(MPSImageCoordinate v)static booleansupportsSecureCoding()Methods inherited from class org.robovm.apple.metalps.MPSCNNKernel
appendBatchBarrier, encode, encode, encode, encode, encodeBatch, encodeBatch, encodeBatch0, encodeBatch0, getBatchEncodingStorageSize, getClipRect, getDestinationFeatureChannelOffset, getDestinationImageAllocator, getDestinationImageDescriptor, getDilationRateX, getDilationRateY, getEdgeMode, getEncodingStorageSize, getKernelHeight, getKernelWidth, getOffset, getPadding, getResultState, getResultStateBatch, getSourceFeatureChannelMaxCount, getSourceFeatureChannelOffset, getStrideInPixelsX, getStrideInPixelsY, getTemporaryResult, getTemporaryResultStateBatch, isBackwards, isResultStateReusedAcrossBatch, isStateModified, setClipRect, setDestinationFeatureChannelOffset, setDestinationImageAllocator, setEdgeMode, setOffset, setPadding, setSourceFeatureChannelMaxCount, setSourceFeatureChannelOffsetMethods 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, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
MPSNNPad
public MPSNNPad() -
MPSNNPad
-
MPSNNPad
-
MPSNNPad
-
MPSNNPad
public MPSNNPad(MTLDevice device, MPSImageCoordinate paddingSizeBefore, MPSImageCoordinate paddingSizeAfter) -
MPSNNPad
public MPSNNPad(MTLDevice device, MPSImageCoordinate paddingSizeBefore, MPSImageCoordinate paddingSizeAfter, NSData fillValueArray) -
MPSNNPad
-
MPSNNPad
-
-
Method Details
-
getPaddingSizeBefore
-
setPaddingSizeBefore
-
getPaddingSizeAfter
-
setPaddingSizeAfter
-
getFillValue
public float getFillValue() -
setFillValue
public void setFillValue(float v) -
supportsSecureCoding
public static boolean supportsSecureCoding() -
init
- Overrides:
initin classMPSCNNKernel
-
init
protected long init(MTLDevice device, MPSImageCoordinate paddingSizeBefore, MPSImageCoordinate paddingSizeAfter) -
init
protected long init(MTLDevice device, MPSImageCoordinate paddingSizeBefore, MPSImageCoordinate paddingSizeAfter, NSData fillValueArray) -
init
- Overrides:
initin classMPSCNNKernel
-