Share via


MPSGraph_MPSGraphTensorShapeOps.Reshape Method

Definition

Overloads

Reshape(MPSGraph, MPSGraphTensor, MPSGraphTensor, String)

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

Parameters

This
MPSGraph
shapeTensor
MPSGraphTensor
name
String

Returns

Attributes

Applies to

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

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

Parameters

This
MPSGraph
shape
Int32[]
name
String

Returns

Attributes

Applies to