편집

다음을 통해 공유


MPSNNOptimizerAdam Constructors

Definition

Overloads

MPSNNOptimizerAdam(NSCoder)
MPSNNOptimizerAdam(NSObjectFlag)
MPSNNOptimizerAdam(IntPtr)
MPSNNOptimizerAdam(IMTLDevice, Single)
MPSNNOptimizerAdam(IMTLDevice, Double, Double, Single, nuint, MPSNNOptimizerDescriptor)

MPSNNOptimizerAdam(NSCoder)

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

Parameters

coder
NSCoder
Attributes

Applies to

MPSNNOptimizerAdam(NSObjectFlag)

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

Parameters

Applies to

MPSNNOptimizerAdam(IntPtr)

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

Parameters

handle
IntPtr

nativeint

Applies to

MPSNNOptimizerAdam(IMTLDevice, Single)

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

Parameters

device
IMTLDevice
learningRate
Single
Attributes

Applies to

MPSNNOptimizerAdam(IMTLDevice, Double, Double, Single, nuint, MPSNNOptimizerDescriptor)

[Foundation.Export("initWithDevice:beta1:beta2:epsilon:timeStep:optimizerDescriptor:")]
public MPSNNOptimizerAdam (Metal.IMTLDevice device, double beta1, double beta2, float epsilon, nuint timeStep, MetalPerformanceShaders.MPSNNOptimizerDescriptor optimizerDescriptor);
new MetalPerformanceShaders.MPSNNOptimizerAdam : Metal.IMTLDevice * double * double * single * nuint * MetalPerformanceShaders.MPSNNOptimizerDescriptor -> MetalPerformanceShaders.MPSNNOptimizerAdam

Parameters

device
IMTLDevice
beta1
Double
beta2
Double
epsilon
Single
timeStep
System.System.UIntPtr System.unativeint
optimizerDescriptor
MPSNNOptimizerDescriptor
Attributes

Applies to