MPSGraph_MPSGraphResizeOps.ResizeNearestWithGradient 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
ResizeNearestWithGradient(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphResizeNearestRoundingMode, MPSGraphTensorNamedDataLayout, String)
[Foundation.Export("resizeNearestWithGradientTensor:input:scaleOffsetTensor:nearestRoundingMode:layout:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor ResizeNearestWithGradient(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor gradient, MetalPerformanceShadersGraph.MPSGraphTensor input, MetalPerformanceShadersGraph.MPSGraphTensor scaleOffset, MetalPerformanceShadersGraph.MPSGraphResizeNearestRoundingMode nearestRoundingMode, MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout layout, string? name);
[<Foundation.Export("resizeNearestWithGradientTensor:input:scaleOffsetTensor:nearestRoundingMode:layout:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member ResizeNearestWithGradient : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphResizeNearestRoundingMode * MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- gradient
- MPSGraphTensor
- input
- MPSGraphTensor
- scaleOffset
- MPSGraphTensor
- nearestRoundingMode
- MPSGraphResizeNearestRoundingMode
- name
- String
Returns
- Attributes
Applies to
ResizeNearestWithGradient(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphTensor, MPSGraphResizeNearestRoundingMode, String)
[Foundation.Export("resizeNearestWithGradientTensor:input:scaleTensor:offsetTensor:nearestRoundingMode:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor ResizeNearestWithGradient(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor gradient, MetalPerformanceShadersGraph.MPSGraphTensor input, MetalPerformanceShadersGraph.MPSGraphTensor scale, MetalPerformanceShadersGraph.MPSGraphTensor offset, MetalPerformanceShadersGraph.MPSGraphResizeNearestRoundingMode nearestRoundingMode, string? name);
[<Foundation.Export("resizeNearestWithGradientTensor:input:scaleTensor:offsetTensor:nearestRoundingMode:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member ResizeNearestWithGradient : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphResizeNearestRoundingMode * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- gradient
- MPSGraphTensor
- input
- MPSGraphTensor
- scale
- MPSGraphTensor
- offset
- MPSGraphTensor
- nearestRoundingMode
- MPSGraphResizeNearestRoundingMode
- name
- String
Returns
- Attributes
Applies to
ResizeNearestWithGradient(MPSGraph, MPSGraphTensor, MPSGraphTensor, MPSGraphResizeNearestRoundingMode, Boolean, Boolean, MPSGraphTensorNamedDataLayout, String)
[Foundation.Export("resizeNearestWithGradientTensor:input:nearestRoundingMode:centerResult:alignCorners:layout:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor ResizeNearestWithGradient(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor gradient, MetalPerformanceShadersGraph.MPSGraphTensor input, MetalPerformanceShadersGraph.MPSGraphResizeNearestRoundingMode nearestRoundingMode, bool centerResult, bool alignCorners, MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout layout, string? name);
[<Foundation.Export("resizeNearestWithGradientTensor:input:nearestRoundingMode:centerResult:alignCorners:layout:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member ResizeNearestWithGradient : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphResizeNearestRoundingMode * bool * bool * MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- gradient
- MPSGraphTensor
- input
- MPSGraphTensor
- nearestRoundingMode
- MPSGraphResizeNearestRoundingMode
- centerResult
- Boolean
- alignCorners
- Boolean
- name
- String
Returns
- Attributes