Share via


MLCActivationLayer.CreateLinearLayer(Single, Single) Method

Definition

[Foundation.Export("linearLayerWithScale:bias:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MLCompute.MLCActivationLayer CreateLinearLayer(float scale, float bias);
[<Foundation.Export("linearLayerWithScale:bias:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateLinearLayer : single * single -> MLCompute.MLCActivationLayer

Parameters

scale
Single
bias
Single

Returns

Attributes

Applies to