Share via


MLCActivationLayer.CreateLeakyReLULayer(Single) Method

Definition

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

Parameters

negativeSlope
Single

Returns

Attributes

Applies to