Share via


MLCActivationLayer.CreateSoftShrinkLayer(Single) Method

Definition

[Foundation.Export("softShrinkLayerWithA:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MLCompute.MLCActivationLayer CreateSoftShrinkLayer(float a);
[<Foundation.Export("softShrinkLayerWithA:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateSoftShrinkLayer : single -> MLCompute.MLCActivationLayer

Parameters

a
Single

Returns

Attributes

Applies to