Share via


MPSGraph_MPSGraphActivationOps.LeakyReLUGradient Method

Definition

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

Parameters

This
MPSGraph
gradient
MPSGraphTensor
alphaTensor
MPSGraphTensor
name
String

Returns

Attributes

Applies to