Share via


MPSGraph_MPSGraphTensorShapeOps.Transpose Method

Definition

Overloads

Transpose(MPSGraph, MPSGraphTensor, Int32[], String)

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

Parameters

This
MPSGraph
permutation
Int32[]
name
String

Returns

Attributes

Applies to

Transpose(MPSGraph, MPSGraphTensor, UIntPtr, UIntPtr, String)

[Foundation.Export("transposeTensor:dimension:withDimension:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Transpose(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor tensor, UIntPtr dimensionIndex, UIntPtr dimensionIndex2, string? name);
[<Foundation.Export("transposeTensor:dimension:withDimension:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Transpose : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * unativeint * unativeint * string -> MetalPerformanceShadersGraph.MPSGraphTensor

Parameters

This
MPSGraph
dimensionIndex
UIntPtr

unativeint

dimensionIndex2
UIntPtr

unativeint

name
String

Returns

Attributes

Applies to