Share via


MPSGraph_MPSGraphRnnOps.GruGradients Method

Definition

Overloads

GruGradients(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphGruDescriptor, String)

[Foundation.Export("GRUGradientsWithSourceTensor:recurrentWeight:sourceGradient:zState:outputFwd:inputWeight:bias:descriptor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor[] GruGradients(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor source, MetalPerformanceShadersGraph.MPSGraphTensor recurrentWeight, MetalPerformanceShadersGraph.MPSGraphTensor sourceGradient, MetalPerformanceShadersGraph.MPSGraphTensor zState, MetalPerformanceShadersGraph.MPSGraphTensor outputFwd, MetalPerformanceShadersGraph.MPSGraphTensor? inputWeight, MetalPerformanceShadersGraph.MPSGraphTensor? bias, MetalPerformanceShadersGraph.MPSGraphGruDescriptor descriptor, string? name);
[<Foundation.Export("GRUGradientsWithSourceTensor:recurrentWeight:sourceGradient:zState:outputFwd:inputWeight:bias:descriptor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GruGradients : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphGruDescriptor * string -> MetalPerformanceShadersGraph.MPSGraphTensor[]

Parameters

This
MPSGraph
recurrentWeight
MPSGraphTensor
sourceGradient
MPSGraphTensor
outputFwd
MPSGraphTensor
inputWeight
MPSGraphTensor
name
String

Returns

Attributes

Applies to

GruGradients(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphGruDescriptor, String)

[Foundation.Export("GRUGradientsWithSourceTensor:recurrentWeight:sourceGradient:zState:outputFwd:inputWeight:bias:initState:descriptor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor[] GruGradients(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor source, MetalPerformanceShadersGraph.MPSGraphTensor recurrentWeight, MetalPerformanceShadersGraph.MPSGraphTensor sourceGradient, MetalPerformanceShadersGraph.MPSGraphTensor zState, MetalPerformanceShadersGraph.MPSGraphTensor outputFwd, MetalPerformanceShadersGraph.MPSGraphTensor? inputWeight, MetalPerformanceShadersGraph.MPSGraphTensor? bias, MetalPerformanceShadersGraph.MPSGraphTensor? initState, MetalPerformanceShadersGraph.MPSGraphGruDescriptor descriptor, string? name);
[<Foundation.Export("GRUGradientsWithSourceTensor:recurrentWeight:sourceGradient:zState:outputFwd:inputWeight:bias:initState:descriptor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GruGradients : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphGruDescriptor * string -> MetalPerformanceShadersGraph.MPSGraphTensor[]

Parameters

This
MPSGraph
recurrentWeight
MPSGraphTensor
sourceGradient
MPSGraphTensor
outputFwd
MPSGraphTensor
inputWeight
MPSGraphTensor
initState
MPSGraphTensor
name
String

Returns

Attributes

Applies to

GruGradients(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphGruDescriptor, String)

[Foundation.Export("GRUGradientsWithSourceTensor:recurrentWeight:sourceGradient:zState:outputFwd:stateGradient:inputWeight:bias:initState:mask:secondaryBias:descriptor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor[] GruGradients(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor source, MetalPerformanceShadersGraph.MPSGraphTensor recurrentWeight, MetalPerformanceShadersGraph.MPSGraphTensor sourceGradient, MetalPerformanceShadersGraph.MPSGraphTensor zState, MetalPerformanceShadersGraph.MPSGraphTensor outputFwd, MetalPerformanceShadersGraph.MPSGraphTensor? stateGradient, MetalPerformanceShadersGraph.MPSGraphTensor? inputWeight, MetalPerformanceShadersGraph.MPSGraphTensor? bias, MetalPerformanceShadersGraph.MPSGraphTensor? initState, MetalPerformanceShadersGraph.MPSGraphTensor? mask, MetalPerformanceShadersGraph.MPSGraphTensor? secondaryBias, MetalPerformanceShadersGraph.MPSGraphGruDescriptor descriptor, string? name);
[<Foundation.Export("GRUGradientsWithSourceTensor:recurrentWeight:sourceGradient:zState:outputFwd:stateGradient:inputWeight:bias:initState:mask:secondaryBias:descriptor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GruGradients : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphGruDescriptor * string -> MetalPerformanceShadersGraph.MPSGraphTensor[]

Parameters

This
MPSGraph
recurrentWeight
MPSGraphTensor
sourceGradient
MPSGraphTensor
outputFwd
MPSGraphTensor
stateGradient
MPSGraphTensor
inputWeight
MPSGraphTensor
initState
MPSGraphTensor
secondaryBias
MPSGraphTensor
name
String

Returns

Attributes

Applies to