Package org.robovm.apple.metalps
Class MPSNNPad
- 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.MPSCNNKernel
-
- org.robovm.apple.metalps.MPSNNPad
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.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 class
MPSNNPad.MPSNNPadPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSCNNKernel
MPSCNNKernel.MPSCNNKernelPtr
-
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 MPSNNPad()
MPSNNPad(NSCoder decoder)
MPSNNPad(NSCoder decoder, MTLDevice device)
protected
MPSNNPad(NSObject.Handle h, long handle)
protected
MPSNNPad(NSObject.SkipInit skipInit)
MPSNNPad(MTLDevice device)
MPSNNPad(MTLDevice device, MPSImageCoordinate paddingSizeBefore, MPSImageCoordinate paddingSizeAfter)
MPSNNPad(MTLDevice device, MPSImageCoordinate paddingSizeBefore, MPSImageCoordinate paddingSizeAfter, NSData fillValueArray)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getFillValue()
MPSImageCoordinate
getPaddingSizeAfter()
MPSImageCoordinate
getPaddingSizeBefore()
protected long
init(NSCoder decoder, MTLDevice device)
protected long
init(MTLDevice device)
protected long
init(MTLDevice device, MPSImageCoordinate paddingSizeBefore, MPSImageCoordinate paddingSizeAfter)
protected long
init(MTLDevice device, MPSImageCoordinate paddingSizeBefore, MPSImageCoordinate paddingSizeAfter, NSData fillValueArray)
void
setFillValue(float v)
void
setPaddingSizeAfter(MPSImageCoordinate v)
void
setPaddingSizeBefore(MPSImageCoordinate v)
-
Methods inherited from class org.robovm.apple.metalps.MPSCNNKernel
appendBatchBarrier, encode, encode, encode, encode, encodeBatch, encodeBatch, encodeBatch, encodeBatch, getClipRect, getDestinationFeatureChannelOffset, getDestinationImageAllocator, getDestinationImageDescriptor, getDilationRateX, getDilationRateY, getEdgeMode, getKernelHeight, getKernelWidth, getOffset, getPadding, getResultState, getResultStateBatch, getSourceFeatureChannelMaxCount, getSourceFeatureChannelOffset, getStrideInPixelsX, getStrideInPixelsY, getTemporaryResult, getTemporaryResultState, isBackwards, isResultStateReusedAcrossBatch, isStateModified, setClipRect, setDestinationFeatureChannelOffset, setDestinationImageAllocator, setEdgeMode, setOffset, setPadding, setSourceFeatureChannelMaxCount, setSourceFeatureChannelOffset
-
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
-
MPSNNPad
public MPSNNPad()
-
MPSNNPad
protected MPSNNPad(NSObject.Handle h, long handle)
-
MPSNNPad
protected MPSNNPad(NSObject.SkipInit skipInit)
-
MPSNNPad
public MPSNNPad(MTLDevice device)
-
MPSNNPad
public MPSNNPad(MTLDevice device, MPSImageCoordinate paddingSizeBefore, MPSImageCoordinate paddingSizeAfter)
-
MPSNNPad
public MPSNNPad(MTLDevice device, MPSImageCoordinate paddingSizeBefore, MPSImageCoordinate paddingSizeAfter, NSData fillValueArray)
-
MPSNNPad
public MPSNNPad(NSCoder decoder)
-
-
Method Detail
-
getPaddingSizeBefore
public MPSImageCoordinate getPaddingSizeBefore()
-
setPaddingSizeBefore
public void setPaddingSizeBefore(MPSImageCoordinate v)
-
getPaddingSizeAfter
public MPSImageCoordinate getPaddingSizeAfter()
-
setPaddingSizeAfter
public void setPaddingSizeAfter(MPSImageCoordinate v)
-
getFillValue
public float getFillValue()
-
setFillValue
public void setFillValue(float v)
-
init
protected long init(MTLDevice device)
- Overrides:
init
in classMPSCNNKernel
-
init
protected long init(MTLDevice device, MPSImageCoordinate paddingSizeBefore, MPSImageCoordinate paddingSizeAfter)
-
init
protected long init(MTLDevice device, MPSImageCoordinate paddingSizeBefore, MPSImageCoordinate paddingSizeAfter, NSData fillValueArray)
-
init
protected long init(NSCoder decoder, MTLDevice device)
- Overrides:
init
in classMPSCNNKernel
-
-