MPSGraph_MPSGraphTensorShapeOps.Flatten2D 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
| Name | Description |
|---|---|
| Flatten2D(MPSGraph, MPSGraphTensor, MPSGraphTensor, String) | |
| Flatten2D(MPSGraph, MPSGraphTensor, IntPtr, String) |
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
- tensor
- MPSGraphTensor
- 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
- tensor
- MPSGraphTensor
- axis
-
IntPtr
nativeint
- name
- String
Returns
- Attributes