MPSNNOptimizerStochasticGradientDescent Constructors

Definition

Overloads

MPSNNOptimizerStochasticGradientDescent(NSCoder)
MPSNNOptimizerStochasticGradientDescent(NSObjectFlag)
MPSNNOptimizerStochasticGradientDescent(IntPtr)
MPSNNOptimizerStochasticGradientDescent(IMTLDevice, Single)
MPSNNOptimizerStochasticGradientDescent(IMTLDevice, Single, Boolean, MPSNNOptimizerDescriptor)

MPSNNOptimizerStochasticGradientDescent(NSCoder)

[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public MPSNNOptimizerStochasticGradientDescent (Foundation.NSCoder coder);
new MetalPerformanceShaders.MPSNNOptimizerStochasticGradientDescent : Foundation.NSCoder -> MetalPerformanceShaders.MPSNNOptimizerStochasticGradientDescent

Parameters

coder
NSCoder
Attributes

Applies to

MPSNNOptimizerStochasticGradientDescent(NSObjectFlag)

protected MPSNNOptimizerStochasticGradientDescent (Foundation.NSObjectFlag t);
new MetalPerformanceShaders.MPSNNOptimizerStochasticGradientDescent : Foundation.NSObjectFlag -> MetalPerformanceShaders.MPSNNOptimizerStochasticGradientDescent

Parameters

Applies to

MPSNNOptimizerStochasticGradientDescent(IntPtr)

protected internal MPSNNOptimizerStochasticGradientDescent (IntPtr handle);
new MetalPerformanceShaders.MPSNNOptimizerStochasticGradientDescent : nativeint -> MetalPerformanceShaders.MPSNNOptimizerStochasticGradientDescent

Parameters

handle
IntPtr

nativeint

Applies to

MPSNNOptimizerStochasticGradientDescent(IMTLDevice, Single)

[Foundation.Export("initWithDevice:learningRate:")]
public MPSNNOptimizerStochasticGradientDescent (Metal.IMTLDevice device, float learningRate);
new MetalPerformanceShaders.MPSNNOptimizerStochasticGradientDescent : Metal.IMTLDevice * single -> MetalPerformanceShaders.MPSNNOptimizerStochasticGradientDescent

Parameters

device
IMTLDevice
learningRate
Single
Attributes

Applies to

MPSNNOptimizerStochasticGradientDescent(IMTLDevice, Single, Boolean, MPSNNOptimizerDescriptor)

[Foundation.Export("initWithDevice:momentumScale:useNestrovMomentum:optimizerDescriptor:")]
public MPSNNOptimizerStochasticGradientDescent (Metal.IMTLDevice device, float momentumScale, bool useNestrovMomentum, MetalPerformanceShaders.MPSNNOptimizerDescriptor optimizerDescriptor);
new MetalPerformanceShaders.MPSNNOptimizerStochasticGradientDescent : Metal.IMTLDevice * single * bool * MetalPerformanceShaders.MPSNNOptimizerDescriptor -> MetalPerformanceShaders.MPSNNOptimizerStochasticGradientDescent

Parameters

device
IMTLDevice
momentumScale
Single
useNestrovMomentum
Boolean
optimizerDescriptor
MPSNNOptimizerDescriptor
Attributes

Applies to