MPSGraph_MPSGraphOptimizerOps.Adam 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.
Overloads
Adam(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, String)
[Foundation.Export("adamWithCurrentLearningRateTensor:beta1Tensor:beta2Tensor:epsilonTensor:valuesTensor:momentumTensor:velocityTensor:maximumVelocityTensor:gradientTensor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor[] Adam(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor currentLearningRateTensor, MetalPerformanceShadersGraph.MPSGraphTensor beta1Tensor, MetalPerformanceShadersGraph.MPSGraphTensor beta2Tensor, MetalPerformanceShadersGraph.MPSGraphTensor epsilonTensor, MetalPerformanceShadersGraph.MPSGraphTensor valuesTensor, MetalPerformanceShadersGraph.MPSGraphTensor momentumTensor, MetalPerformanceShadersGraph.MPSGraphTensor velocityTensor, MetalPerformanceShadersGraph.MPSGraphTensor? maximumVelocityTensor, MetalPerformanceShadersGraph.MPSGraphTensor gradientTensor, string? name);
[<Foundation.Export("adamWithCurrentLearningRateTensor:beta1Tensor:beta2Tensor:epsilonTensor:valuesTensor:momentumTensor:velocityTensor:maximumVelocityTensor:gradientTensor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Adam : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * string -> MetalPerformanceShadersGraph.MPSGraphTensor[]
Parameters
- This
- MPSGraph
- currentLearningRateTensor
- MPSGraphTensor
- beta1Tensor
- MPSGraphTensor
- beta2Tensor
- MPSGraphTensor
- epsilonTensor
- MPSGraphTensor
- valuesTensor
- MPSGraphTensor
- momentumTensor
- MPSGraphTensor
- velocityTensor
- MPSGraphTensor
- maximumVelocityTensor
- MPSGraphTensor
- gradientTensor
- MPSGraphTensor
- name
- String
Returns
- Attributes
Applies to
Adam(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, String)
[Foundation.Export("adamWithLearningRateTensor:beta1Tensor:beta2Tensor:epsilonTensor:beta1PowerTensor:beta2PowerTensor:valuesTensor:momentumTensor:velocityTensor:maximumVelocityTensor:gradientTensor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor[] Adam(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor learningRateTensor, MetalPerformanceShadersGraph.MPSGraphTensor beta1Tensor, MetalPerformanceShadersGraph.MPSGraphTensor beta2Tensor, MetalPerformanceShadersGraph.MPSGraphTensor epsilonTensor, MetalPerformanceShadersGraph.MPSGraphTensor beta1PowerTensor, MetalPerformanceShadersGraph.MPSGraphTensor beta2PowerTensor, MetalPerformanceShadersGraph.MPSGraphTensor valuesTensor, MetalPerformanceShadersGraph.MPSGraphTensor momentumTensor, MetalPerformanceShadersGraph.MPSGraphTensor velocityTensor, MetalPerformanceShadersGraph.MPSGraphTensor? maximumVelocityTensor, MetalPerformanceShadersGraph.MPSGraphTensor gradientTensor, string? name);
[<Foundation.Export("adamWithLearningRateTensor:beta1Tensor:beta2Tensor:epsilonTensor:beta1PowerTensor:beta2PowerTensor:valuesTensor:momentumTensor:velocityTensor:maximumVelocityTensor:gradientTensor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Adam : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * string -> MetalPerformanceShadersGraph.MPSGraphTensor[]
Parameters
- This
- MPSGraph
- learningRateTensor
- MPSGraphTensor
- beta1Tensor
- MPSGraphTensor
- beta2Tensor
- MPSGraphTensor
- epsilonTensor
- MPSGraphTensor
- beta1PowerTensor
- MPSGraphTensor
- beta2PowerTensor
- MPSGraphTensor
- valuesTensor
- MPSGraphTensor
- momentumTensor
- MPSGraphTensor
- velocityTensor
- MPSGraphTensor
- maximumVelocityTensor
- MPSGraphTensor
- gradientTensor
- MPSGraphTensor
- name
- String
Returns
- Attributes