Share via


MPSGraph_MPSGraphTensorShapeOps.Flatten2D Method

Definition

Overloads

Flatten2D(MPSGraph, MPSGraphTensor, MPSGraphTensor, String)

[Foundation.Export("flatten2DTensor:axisTensor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Flatten2D(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor tensor, MetalPerformanceShadersGraph.MPSGraphTensor axisTensor, string? name);
[<Foundation.Export("flatten2DTensor:axisTensor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Flatten2D : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * string -> MetalPerformanceShadersGraph.MPSGraphTensor

Parameters

This
MPSGraph
axisTensor
MPSGraphTensor
name
String

Returns

Attributes

Applies to

Flatten2D(MPSGraph, MPSGraphTensor, IntPtr, String)

[Foundation.Export("flatten2DTensor:axis:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Flatten2D(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor tensor, IntPtr axis, string? name);
[<Foundation.Export("flatten2DTensor:axis:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Flatten2D : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * nativeint * string -> MetalPerformanceShadersGraph.MPSGraphTensor

Parameters

This
MPSGraph
axis
IntPtr

nativeint

name
String

Returns

Attributes

Applies to