Share via


MPSGraph_MPSGraphActivationOps.LeakyReLU Method

Definition

Overloads

LeakyReLU(MPSGraph, MPSGraphTensor, MPSGraphTensor, String)

[Foundation.Export("leakyReLUWithTensor:alphaTensor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor LeakyReLU(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor tensor, MetalPerformanceShadersGraph.MPSGraphTensor alphaTensor, string? name);
[<Foundation.Export("leakyReLUWithTensor:alphaTensor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member LeakyReLU : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * string -> MetalPerformanceShadersGraph.MPSGraphTensor

Parameters

This
MPSGraph
alphaTensor
MPSGraphTensor
name
String

Returns

Attributes

Applies to

LeakyReLU(MPSGraph, MPSGraphTensor, Double, String)

[Foundation.Export("leakyReLUWithTensor:alpha:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor LeakyReLU(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor tensor, double alpha, string? name);
[<Foundation.Export("leakyReLUWithTensor:alpha:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member LeakyReLU : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * double * string -> MetalPerformanceShadersGraph.MPSGraphTensor

Parameters

This
MPSGraph
alpha
Double
name
String

Returns

Attributes

Applies to