MPSGraph_MPSGraphActivationOps.LeakyReLU Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| LeakyReLU(MPSGraph, MPSGraphTensor, MPSGraphTensor, String) | |
| LeakyReLU(MPSGraph, MPSGraphTensor, Double, String) |
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
- tensor
- MPSGraphTensor
- 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
- tensor
- MPSGraphTensor
- alpha
- Double
- name
- String
Returns
- Attributes