Package org.robovm.apple.metalps
Class MPSCNNInstanceNormalization
- 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.MPSCNNInstanceNormalization
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class MPSCNNInstanceNormalization extends MPSCNNKernel
- Since:
- Available in iOS 11.3 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPSCNNInstanceNormalization.MPSCNNInstanceNormalizationPtr
-
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 MPSCNNInstanceNormalization()
MPSCNNInstanceNormalization(NSCoder decoder)
MPSCNNInstanceNormalization(NSCoder aDecoder, MTLDevice device)
protected
MPSCNNInstanceNormalization(NSObject.Handle h, long handle)
protected
MPSCNNInstanceNormalization(NSObject.SkipInit skipInit)
MPSCNNInstanceNormalization(MTLDevice device, MPSCNNInstanceNormalizationDataSource dataSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MPSCNNInstanceNormalizationDataSource
getDataSource()
float
getEpsilon()
MPSCNNInstanceNormalizationGradientState
getResultState(MPSImage sourceImage, NSArray<MPSState> sourceStates, MPSImage destinationImage)
MPSCNNInstanceNormalizationGradientState
getTemporaryResultState(MTLCommandBuffer commandBuffer, MPSImage sourceImage, NSArray<MPSState> sourceStates, MPSImage destinationImage)
protected long
init(NSCoder aDecoder, MTLDevice device)
protected long
init(MTLDevice device, MPSCNNInstanceNormalizationDataSource dataSource)
void
reloadDataSource(MPSCNNInstanceNormalizationDataSource dataSource)
Deprecated.Deprecated in iOS 12.0.void
reloadGammaAndBeta(MTLCommandBuffer commandBuffer, MPSCNNNormalizationGammaAndBetaState gammaAndBetaState)
void
reloadGammaAndBetaFromDataSource()
void
setEpsilon(float 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, getResultStateBatch, getSourceFeatureChannelMaxCount, getSourceFeatureChannelOffset, getStrideInPixelsX, getStrideInPixelsY, getTemporaryResult, getTemporaryResultState, init, 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
-
MPSCNNInstanceNormalization
public MPSCNNInstanceNormalization()
-
MPSCNNInstanceNormalization
protected MPSCNNInstanceNormalization(NSObject.Handle h, long handle)
-
MPSCNNInstanceNormalization
protected MPSCNNInstanceNormalization(NSObject.SkipInit skipInit)
-
MPSCNNInstanceNormalization
public MPSCNNInstanceNormalization(MTLDevice device, MPSCNNInstanceNormalizationDataSource dataSource)
-
MPSCNNInstanceNormalization
public MPSCNNInstanceNormalization(NSCoder decoder)
-
-
Method Detail
-
getEpsilon
public float getEpsilon()
-
setEpsilon
public void setEpsilon(float v)
-
getDataSource
public MPSCNNInstanceNormalizationDataSource getDataSource()
-
init
protected long init(MTLDevice device, MPSCNNInstanceNormalizationDataSource dataSource)
-
init
protected long init(NSCoder aDecoder, MTLDevice device)
- Overrides:
init
in classMPSCNNKernel
-
reloadDataSource
@Deprecated public void reloadDataSource(MPSCNNInstanceNormalizationDataSource dataSource)
Deprecated.Deprecated in iOS 12.0.- Since:
- Available in iOS 11.3 and later.
-
reloadGammaAndBetaFromDataSource
public void reloadGammaAndBetaFromDataSource()
- Since:
- Available in iOS 12.0 and later.
-
reloadGammaAndBeta
public void reloadGammaAndBeta(MTLCommandBuffer commandBuffer, MPSCNNNormalizationGammaAndBetaState gammaAndBetaState)
-
getResultState
public MPSCNNInstanceNormalizationGradientState getResultState(MPSImage sourceImage, NSArray<MPSState> sourceStates, MPSImage destinationImage)
- Overrides:
getResultState
in classMPSCNNKernel
-
getTemporaryResultState
public MPSCNNInstanceNormalizationGradientState getTemporaryResultState(MTLCommandBuffer commandBuffer, MPSImage sourceImage, NSArray<MPSState> sourceStates, MPSImage destinationImage)
-
-