MPSGraph_MPSGraphOptimizerOps.ApplyStochasticGradientDescent Method
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.
[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
- variable
- MPSGraphVariableOp
- gradient
- MPSGraphTensor
- name
- String
Returns
- Attributes