Share via


MPSGraph_MPSGraphRnnOps.SingleGateRnnGradients Method

Definition

Overloads

SingleGateRnnGradients(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphSingleGateRnnDescriptor, String)

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

Parameters

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

Returns

Attributes

Applies to

SingleGateRnnGradients(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphSingleGateRnnDescriptor, String)

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

Parameters

This
MPSGraph
recurrentWeight
MPSGraphTensor
sourceGradient
MPSGraphTensor
initState
MPSGraphTensor
name
String

Returns

Attributes

Applies to

SingleGateRnnGradients(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphSingleGateRnnDescriptor, String)

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

Parameters

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

Returns

Attributes

Applies to

SingleGateRnnGradients(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphSingleGateRnnDescriptor, String)

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

Parameters

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

Returns

Attributes

Applies to