MPSGraph_MPSGraphRnnOps.LstmGradients 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
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
- source
- MPSGraphTensor
- recurrentWeight
- MPSGraphTensor
- sourceGradient
- MPSGraphTensor
- zState
- MPSGraphTensor
- cellOutputFwd
- MPSGraphTensor
- stateGradient
- MPSGraphTensor
- cellGradient
- MPSGraphTensor
- inputWeight
- MPSGraphTensor
- bias
- MPSGraphTensor
- initState
- MPSGraphTensor
- initCell
- MPSGraphTensor
- mask
- MPSGraphTensor
- peephole
- MPSGraphTensor
- descriptor
- MPSGraphLstmDescriptor
- 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
- source
- MPSGraphTensor
- recurrentWeight
- MPSGraphTensor
- sourceGradient
- MPSGraphTensor
- zState
- MPSGraphTensor
- cellOutputFwd
- MPSGraphTensor
- inputWeight
- MPSGraphTensor
- bias
- MPSGraphTensor
- initState
- MPSGraphTensor
- initCell
- MPSGraphTensor
- mask
- MPSGraphTensor
- descriptor
- MPSGraphLstmDescriptor
- 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
- source
- MPSGraphTensor
- recurrentWeight
- MPSGraphTensor
- sourceGradient
- MPSGraphTensor
- zState
- MPSGraphTensor
- cellOutputFwd
- MPSGraphTensor
- descriptor
- MPSGraphLstmDescriptor
- 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
- source
- MPSGraphTensor
- recurrentWeight
- MPSGraphTensor
- sourceGradient
- MPSGraphTensor
- zState
- MPSGraphTensor
- cellOutputFwd
- MPSGraphTensor
- inputWeight
- MPSGraphTensor
- bias
- MPSGraphTensor
- initState
- MPSGraphTensor
- initCell
- MPSGraphTensor
- descriptor
- MPSGraphLstmDescriptor
- name
- String
Returns
- Attributes