MPSGraph_MPSGraphTensorShapeOps.Transpose 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 |
|---|---|
| Transpose(MPSGraph, MPSGraphTensor, Int32[], String) | |
| Transpose(MPSGraph, MPSGraphTensor, UIntPtr, UIntPtr, String) |
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
- tensor
- MPSGraphTensor
- 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
- tensor
- MPSGraphTensor
- dimensionIndex
-
UIntPtr
unativeint
- dimensionIndex2
-
UIntPtr
unativeint
- name
- String
Returns
- Attributes