Share via


MPSGraph_MPSGraphRnnOps.LstmGradients Method

Definition

Overloads

Name Description
LstmGradients(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphLstmDescriptor, String)
LstmGradients(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphLstmDescriptor, String)
LstmGradients(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphLstmDescriptor, String)
LstmGradients(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphLstmDescriptor, String)

LstmGradients(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphLstmDescriptor, String)

[Foundation.Export("LSTMGradientsWithSourceTensor:recurrentWeight:sourceGradient:zState:cellOutputFwd:stateGradient:cellGradient:inputWeight:bias:initState:initCell:mask:peephole:descriptor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor[] LstmGradients(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor source, MetalPerformanceShadersGraph.MPSGraphTensor recurrentWeight, MetalPerformanceShadersGraph.MPSGraphTensor sourceGradient, MetalPerformanceShadersGraph.MPSGraphTensor zState, MetalPerformanceShadersGraph.MPSGraphTensor cellOutputFwd, MetalPerformanceShadersGraph.MPSGraphTensor? stateGradient, MetalPerformanceShadersGraph.MPSGraphTensor? cellGradient, MetalPerformanceShadersGraph.MPSGraphTensor? inputWeight, MetalPerformanceShadersGraph.MPSGraphTensor? bias, MetalPerformanceShadersGraph.MPSGraphTensor? initState, MetalPerformanceShadersGraph.MPSGraphTensor? initCell, MetalPerformanceShadersGraph.MPSGraphTensor? mask, MetalPerformanceShadersGraph.MPSGraphTensor? peephole, MetalPerformanceShadersGraph.MPSGraphLstmDescriptor descriptor, string? name);
[<Foundation.Export("LSTMGradientsWithSourceTensor:recurrentWeight:sourceGradient:zState:cellOutputFwd:stateGradient:cellGradient:inputWeight:bias:initState:initCell:mask:peephole:descriptor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member LstmGradients : 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.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphLstmDescriptor * string -> MetalPerformanceShadersGraph.MPSGraphTensor[]

Parameters

This
MPSGraph
recurrentWeight
MPSGraphTensor
sourceGradient
MPSGraphTensor
cellOutputFwd
MPSGraphTensor
stateGradient
MPSGraphTensor
cellGradient
MPSGraphTensor
inputWeight
MPSGraphTensor
initState
MPSGraphTensor
initCell
MPSGraphTensor
peephole
MPSGraphTensor
name
String

Returns

Attributes

Applies to

LstmGradients(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphLstmDescriptor, String)

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

Parameters

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

Returns

Attributes

Applies to

LstmGradients(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphLstmDescriptor, String)

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

Parameters

This
MPSGraph
recurrentWeight
MPSGraphTensor
sourceGradient
MPSGraphTensor
cellOutputFwd
MPSGraphTensor
name
String

Returns

Attributes

Applies to

LstmGradients(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphLstmDescriptor, String)

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

Parameters

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

Returns

Attributes

Applies to