Compartilhar via


MPSNNOptimizerAdam Construtores

Definição

Sobrecargas

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

Parâmetros

coder
NSCoder
Atributos

Aplica-se a

MPSNNOptimizerAdam(NSObjectFlag)

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

Parâmetros

Aplica-se a

MPSNNOptimizerAdam(IntPtr)

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

Parâmetros

handle
IntPtr

nativeint

Aplica-se a

MPSNNOptimizerAdam(IMTLDevice, Single)

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

Parâmetros

device
IMTLDevice
learningRate
Single
Atributos

Aplica-se a

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

Parâmetros

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

Aplica-se a