MPSGraph_MPSGraphResizeOps.ResizeGradient 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.
[Foundation.Export("resizeWithGradientTensor:input:mode:centerResult:alignCorners:layout:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor ResizeGradient(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor gradient, MetalPerformanceShadersGraph.MPSGraphTensor input, MetalPerformanceShadersGraph.MPSGraphResizeMode mode, bool centerResult, bool alignCorners, MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout layout, string? name);
[<Foundation.Export("resizeWithGradientTensor:input:mode:centerResult:alignCorners:layout:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member ResizeGradient : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphResizeMode * bool * bool * MetalPerformanceShadersGraph.MPSGraphTensorNamedDataLayout * string -> MetalPerformanceShadersGraph.MPSGraphTensor
Parameters
- This
- MPSGraph
- gradient
- MPSGraphTensor
- input
- MPSGraphTensor
- mode
- MPSGraphResizeMode
- centerResult
- Boolean
- alignCorners
- Boolean
- name
- String
Returns
- Attributes