MPSGraph_MPSGraphTensorShapeOps.Reshape 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 |
|---|---|
| Reshape(MPSGraph, MPSGraphTensor, MPSGraphTensor, String) | |
| Reshape(MPSGraph, MPSGraphTensor, Int32[], String) |
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
- tensor
- MPSGraphTensor
- 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
- tensor
- MPSGraphTensor
- shape
- Int32[]
- name
- String
Returns
- Attributes