Share via


MPSGraph_MPSGraphOptimizerOps.ApplyStochasticGradientDescent Method

Definition

[Foundation.Export("applyStochasticGradientDescentWithLearningRateTensor:variable:gradientTensor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphOperation ApplyStochasticGradientDescent(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor learningRate, MetalPerformanceShadersGraph.MPSGraphVariableOp variable, MetalPerformanceShadersGraph.MPSGraphTensor gradient, string? name);
[<Foundation.Export("applyStochasticGradientDescentWithLearningRateTensor:variable:gradientTensor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member ApplyStochasticGradientDescent : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphVariableOp * MetalPerformanceShadersGraph.MPSGraphTensor * string -> MetalPerformanceShadersGraph.MPSGraphOperation

Parameters

This
MPSGraph
learningRate
MPSGraphTensor
gradient
MPSGraphTensor
name
String

Returns

Attributes

Applies to