Package org.robovm.apple.metalps
Class MPSNNOptimizerRMSProp
- 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.MPSNNOptimizer
-
- org.robovm.apple.metalps.MPSNNOptimizerRMSProp
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class MPSNNOptimizerRMSProp extends MPSNNOptimizer
- Since:
- Available in iOS 12.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPSNNOptimizerRMSProp.MPSNNOptimizerRMSPropPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.metalps.MPSNNOptimizer
MPSNNOptimizer.MPSNNOptimizerPtr
-
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 MPSNNOptimizerRMSProp()
MPSNNOptimizerRMSProp(NSCoder decoder)
MPSNNOptimizerRMSProp(NSCoder decoder, MTLDevice device)
protected
MPSNNOptimizerRMSProp(NSObject.Handle h, long handle)
protected
MPSNNOptimizerRMSProp(NSObject.SkipInit skipInit)
MPSNNOptimizerRMSProp(MTLDevice device, double decay, float epsilon, MPSNNOptimizerDescriptor optimizerDescriptor)
MPSNNOptimizerRMSProp(MTLDevice device, float learningRate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encodeToCommandBuffer(MTLCommandBuffer commandBuffer, MPSCNNBatchNormalizationState batchNormalizationState, NSArray<MPSVector> inputSumOfSquaresVectors, MPSCNNNormalizationGammaAndBetaState resultState)
void
encodeToCommandBuffer(MTLCommandBuffer commandBuffer, MPSCNNBatchNormalizationState batchNormalizationGradientState, MPSCNNBatchNormalizationState batchNormalizationSourceState, NSArray<MPSVector> inputSumOfSquaresVectors, MPSCNNNormalizationGammaAndBetaState resultState)
void
encodeToCommandBuffer(MTLCommandBuffer commandBuffer, MPSCNNConvolutionGradientState convolutionGradientState, MPSCNNConvolutionWeightsAndBiasesState convolutionSourceState, NSArray<MPSVector> inputSumOfSquaresVectors, MPSCNNConvolutionWeightsAndBiasesState resultState)
void
encodeToCommandBuffer(MTLCommandBuffer commandBuffer, MPSVector inputGradientVector, MPSVector inputValuesVector, MPSVector inputSumOfSquaresVector, MPSVector resultValuesVector)
double
getDecay()
float
getEpsilon()
protected long
init(MTLDevice device, double decay, float epsilon, MPSNNOptimizerDescriptor optimizerDescriptor)
protected long
init(MTLDevice device, float learningRate)
-
Methods inherited from class org.robovm.apple.metalps.MPSNNOptimizer
getGradientClipMax, getGradientClipMin, getGradientRescale, getLearningRate, getRegularizationScale, getRegularizationType, isApplyGradientClipping, setApplyGradientClipping, setLearningRate
-
Methods inherited from class org.robovm.apple.metalps.MPSKernel
copy, encode, getDevice, getLabel, getOptions, init, init, 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
-
MPSNNOptimizerRMSProp
public MPSNNOptimizerRMSProp()
-
MPSNNOptimizerRMSProp
protected MPSNNOptimizerRMSProp(NSObject.Handle h, long handle)
-
MPSNNOptimizerRMSProp
protected MPSNNOptimizerRMSProp(NSObject.SkipInit skipInit)
-
MPSNNOptimizerRMSProp
public MPSNNOptimizerRMSProp(MTLDevice device, float learningRate)
-
MPSNNOptimizerRMSProp
public MPSNNOptimizerRMSProp(MTLDevice device, double decay, float epsilon, MPSNNOptimizerDescriptor optimizerDescriptor)
-
MPSNNOptimizerRMSProp
public MPSNNOptimizerRMSProp(NSCoder decoder)
-
-
Method Detail
-
getDecay
public double getDecay()
-
getEpsilon
public float getEpsilon()
-
init
protected long init(MTLDevice device, float learningRate)
-
init
protected long init(MTLDevice device, double decay, float epsilon, MPSNNOptimizerDescriptor optimizerDescriptor)
-
encodeToCommandBuffer
public void encodeToCommandBuffer(MTLCommandBuffer commandBuffer, MPSVector inputGradientVector, MPSVector inputValuesVector, MPSVector inputSumOfSquaresVector, MPSVector resultValuesVector)
-
encodeToCommandBuffer
public void encodeToCommandBuffer(MTLCommandBuffer commandBuffer, MPSCNNConvolutionGradientState convolutionGradientState, MPSCNNConvolutionWeightsAndBiasesState convolutionSourceState, NSArray<MPSVector> inputSumOfSquaresVectors, MPSCNNConvolutionWeightsAndBiasesState resultState)
-
encodeToCommandBuffer
public void encodeToCommandBuffer(MTLCommandBuffer commandBuffer, MPSCNNBatchNormalizationState batchNormalizationState, NSArray<MPSVector> inputSumOfSquaresVectors, MPSCNNNormalizationGammaAndBetaState resultState)
-
encodeToCommandBuffer
public void encodeToCommandBuffer(MTLCommandBuffer commandBuffer, MPSCNNBatchNormalizationState batchNormalizationGradientState, MPSCNNBatchNormalizationState batchNormalizationSourceState, NSArray<MPSVector> inputSumOfSquaresVectors, MPSCNNNormalizationGammaAndBetaState resultState)
-
-