MPSNNOptimizerDescriptor Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
MPSNNOptimizerDescriptor(NSObjectFlag)
protected MPSNNOptimizerDescriptor (Foundation.NSObjectFlag t);
new MetalPerformanceShaders.MPSNNOptimizerDescriptor : Foundation.NSObjectFlag -> MetalPerformanceShaders.MPSNNOptimizerDescriptor
Parámetros
Se aplica a
MPSNNOptimizerDescriptor(IntPtr)
protected internal MPSNNOptimizerDescriptor (IntPtr handle);
new MetalPerformanceShaders.MPSNNOptimizerDescriptor : nativeint -> MetalPerformanceShaders.MPSNNOptimizerDescriptor
Parámetros
- handle
-
IntPtr
nativeint
Se aplica a
MPSNNOptimizerDescriptor(Single, Single, MPSNNRegularizationType, Single)
[Foundation.Export("initWithLearningRate:gradientRescale:regularizationType:regularizationScale:")]
public MPSNNOptimizerDescriptor (float learningRate, float gradientRescale, MetalPerformanceShaders.MPSNNRegularizationType regularizationType, float regularizationScale);
new MetalPerformanceShaders.MPSNNOptimizerDescriptor : single * single * MetalPerformanceShaders.MPSNNRegularizationType * single -> MetalPerformanceShaders.MPSNNOptimizerDescriptor
Parámetros
- learningRate
- Single
- gradientRescale
- Single
- regularizationType
- MPSNNRegularizationType
- regularizationScale
- Single
- Atributos
Se aplica a
MPSNNOptimizerDescriptor(Single, Single, Boolean, Single, Single, MPSNNRegularizationType, Single)
[Foundation.Export("initWithLearningRate:gradientRescale:applyGradientClipping:gradientClipMax:gradientClipMin:regularizationType:regularizationScale:")]
public MPSNNOptimizerDescriptor (float learningRate, float gradientRescale, bool applyGradientClipping, float gradientClipMax, float gradientClipMin, MetalPerformanceShaders.MPSNNRegularizationType regularizationType, float regularizationScale);
new MetalPerformanceShaders.MPSNNOptimizerDescriptor : single * single * bool * single * single * MetalPerformanceShaders.MPSNNRegularizationType * single -> MetalPerformanceShaders.MPSNNOptimizerDescriptor
Parámetros
- learningRate
- Single
- gradientRescale
- Single
- applyGradientClipping
- Boolean
- gradientClipMax
- Single
- gradientClipMin
- Single
- regularizationType
- MPSNNRegularizationType
- regularizationScale
- Single
- Atributos