MPSNNOptimizerStochasticGradientDescent Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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