MPSGraph_MPSGraphResizeOps.Resize 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
Resize(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphResizeMode, Boolean, Boolean, String)
[Foundation.Export("resizeTensor:sizeTensor:mode:centerResult:alignCorners:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Resize(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor imagesTensor, MetalPerformanceShadersGraph.MPSGraphTensor size, MetalPerformanceShadersGraph.MPSGraphResizeMode mode, bool centerResult, bool alignCorners, string? name);
[<Foundation.Export("resizeTensor:sizeTensor:mode:centerResult:alignCorners:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Resize : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphResizeMode * bool * bool * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- imagesTensor
- MPSGraphTensor
- size
- MPSGraphTensor
- mode
- MPSGraphResizeMode
- centerResult
- Boolean
- alignCorners
- Boolean
- name
- String
Returns
- Attributes
Applies to
Resize(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphResizeMode, MPSGraphTensorNamedDataLayout, String)
[Foundation.Export("resizeTensor:sizeTensor:scaleOffsetTensor:mode:layout:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Resize(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor imagesTensor, MetalPerformanceShadersGraph.MPSGraphTensor size, MetalPerformanceShadersGraph.MPSGraphTensor scaleOffset, MetalPerformanceShadersGraph.MPSGraphResizeMode mode, MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout layout, string? name);
[<Foundation.Export("resizeTensor:sizeTensor:scaleOffsetTensor:mode:layout:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Resize : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphResizeMode * MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- imagesTensor
- MPSGraphTensor
- size
- MPSGraphTensor
- scaleOffset
- MPSGraphTensor
- mode
- MPSGraphResizeMode
- name
- String
Returns
- Attributes
Applies to
Resize(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphResizeMode, String)
[Foundation.Export("resizeTensor:sizeTensor:scaleTensor:offsetTensor:mode:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Resize(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor imagesTensor, MetalPerformanceShadersGraph.MPSGraphTensor size, MetalPerformanceShadersGraph.MPSGraphTensor scale, MetalPerformanceShadersGraph.MPSGraphTensor offset, MetalPerformanceShadersGraph.MPSGraphResizeMode mode, string? name);
[<Foundation.Export("resizeTensor:sizeTensor:scaleTensor:offsetTensor:mode:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Resize : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphResizeMode * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- imagesTensor
- MPSGraphTensor
- size
- MPSGraphTensor
- scale
- MPSGraphTensor
- offset
- MPSGraphTensor
- mode
- MPSGraphResizeMode
- name
- String
Returns
- Attributes
Applies to
Resize(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphResizeMode, Boolean, Boolean, MPSGraphTensorNamedDataLayout, String)
[Foundation.Export("resizeTensor:sizeTensor:mode:centerResult:alignCorners:layout:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Resize(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor imagesTensor, MetalPerformanceShadersGraph.MPSGraphTensor size, MetalPerformanceShadersGraph.MPSGraphResizeMode mode, bool centerResult, bool alignCorners, MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout layout, string? name);
[<Foundation.Export("resizeTensor:sizeTensor:mode:centerResult:alignCorners:layout:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Resize : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphResizeMode * bool * bool * MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- imagesTensor
- MPSGraphTensor
- size
- MPSGraphTensor
- mode
- MPSGraphResizeMode
- centerResult
- Boolean
- alignCorners
- Boolean
- name
- String
Returns
- Attributes
Applies to
Resize(MPSGraph, MPSGraphTensor, Int32[], MPSGraphResizeMode, Boolean, Boolean, MPSGraphTensorNamedDataLayout, String)
[Foundation.Export("resizeTensor:size:mode:centerResult:alignCorners:layout:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor Resize(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor imagesTensor, int[] size, MetalPerformanceShadersGraph.MPSGraphResizeMode mode, bool centerResult, bool alignCorners, MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout layout, string? name);
[<Foundation.Export("resizeTensor:size:mode:centerResult:alignCorners:layout:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Resize : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * int[] * MetalPerformanceShadersGraph.MPSGraphResizeMode * bool * bool * MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- imagesTensor
- MPSGraphTensor
- size
- Int32[]
- mode
- MPSGraphResizeMode
- centerResult
- Boolean
- alignCorners
- Boolean
- name
- String
Returns
- Attributes