Share via


MPSGraph_MPSGraphResizeOps.ResizeWithGradient Method

Definition

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
scaleOffset
MPSGraphTensor
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
name
String

Returns

Attributes

Applies to