Share via


MLCActivationLayer.CreateClampLayer(Single, Single) Method

Definition

[Foundation.Export("clampLayerWithMinValue:maxValue:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MLCompute.MLCActivationLayer CreateClampLayer(float minValue, float maxValue);
[<Foundation.Export("clampLayerWithMinValue:maxValue:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateClampLayer : single * single -> MLCompute.MLCActivationLayer

Parameters

minValue
Single
maxValue
Single

Returns

Attributes

Applies to