MPSGraph_MPSGraphTensorShapeOps.ExpandDims 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 |
|---|---|
| ExpandDims(MPSGraph, MPSGraphTensor, IntPtr, String) | |
| ExpandDims(MPSGraph, MPSGraphTensor, MPSGraphTensor, String) | |
| ExpandDims(MPSGraph, MPSGraphTensor, Int32[], String) |
ExpandDims(MPSGraph, MPSGraphTensor, IntPtr, String)
[Foundation.Export("expandDimsOfTensor:axis:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor ExpandDims(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor tensor, IntPtr axis, string? name);
[<Foundation.Export("expandDimsOfTensor:axis:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member ExpandDims : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * nativeint * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- tensor
- MPSGraphTensor
- axis
-
IntPtr
nativeint
- name
- String
Returns
- Attributes
Applies to
ExpandDims(MPSGraph, MPSGraphTensor, MPSGraphTensor, String)
[Foundation.Export("expandDimsOfTensor:axesTensor:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor ExpandDims(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor tensor, MetalPerformanceShadersGraph.MPSGraphTensor axesTensor, string? name);
[<Foundation.Export("expandDimsOfTensor:axesTensor:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member ExpandDims : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- tensor
- MPSGraphTensor
- axesTensor
- MPSGraphTensor
- name
- String
Returns
- Attributes
Applies to
ExpandDims(MPSGraph, MPSGraphTensor, Int32[], String)
[Foundation.Export("expandDimsOfTensor:axes:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor ExpandDims(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor tensor, int[] axes, string? name);
[<Foundation.Export("expandDimsOfTensor:axes:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member ExpandDims : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * int[] * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- tensor
- MPSGraphTensor
- axes
- Int32[]
- name
- String
Returns
- Attributes