MPSNNOptimizerDescriptor Constructors
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
MPSNNOptimizerDescriptor(NSObjectFlag)
protected MPSNNOptimizerDescriptor (Foundation.NSObjectFlag t);
new MetalPerformanceShaders.MPSNNOptimizerDescriptor : Foundation.NSObjectFlag -> MetalPerformanceShaders.MPSNNOptimizerDescriptor
Parameters
Applies to
MPSNNOptimizerDescriptor(IntPtr)
protected internal MPSNNOptimizerDescriptor (IntPtr handle);
new MetalPerformanceShaders.MPSNNOptimizerDescriptor : nativeint -> MetalPerformanceShaders.MPSNNOptimizerDescriptor
Parameters
- handle
-
IntPtr
nativeint
Applies to
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
Parameters
- learningRate
- Single
- gradientRescale
- Single
- regularizationType
- MPSNNRegularizationType
- regularizationScale
- Single
- Attributes
Applies to
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
Parameters
- learningRate
- Single
- gradientRescale
- Single
- applyGradientClipping
- Boolean
- gradientClipMax
- Single
- gradientClipMin
- Single
- regularizationType
- MPSNNRegularizationType
- regularizationScale
- Single
- Attributes