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