Share via


MPSGraph_MPSGraphRnnOps.Lstm Method

Definition

Overloads

Lstm(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphLstmDescriptor, String)

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

Parameters

This
MPSGraph
recurrentWeight
MPSGraphTensor
initState
MPSGraphTensor
initCell
MPSGraphTensor
name
String

Returns

Attributes

Applies to

Lstm(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphLstmDescriptor, String)

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

Parameters

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

Returns

Attributes

Applies to

Lstm(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphLstmDescriptor, String)

[Foundation.Export("LSTMWithSourceTensor:recurrentWeight:inputWeight:bias:initState:initCell:mask:peephole:descriptor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor[] Lstm(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor source, MetalPerformanceShadersGraph.MPSGraphTensor recurrentWeight, 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("LSTMWithSourceTensor:recurrentWeight:inputWeight:bias:initState:initCell:mask:peephole:descriptor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Lstm : MetalPerformanceShadersGraph.MPSGraph * 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
inputWeight
MPSGraphTensor
initState
MPSGraphTensor
initCell
MPSGraphTensor
peephole
MPSGraphTensor
name
String

Returns

Attributes

Applies to