Share via


MPSGraph_MPSGraphResizeOps.Resize Method

Definition

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
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
scaleOffset
MPSGraphTensor
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
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
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[]
centerResult
Boolean
alignCorners
Boolean
name
String

Returns

Attributes

Applies to