Share via


MPSGraph_MPSGraphTensorShapeOps.PadGradient Method

Definition

[Foundation.Export("padGradientWithIncomingGradientTensor:sourceTensor:paddingMode:leftPadding:rightPadding:name:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShadersGraph.MPSGraphTensor PadGradient(this MetalPerformanceShadersGraph.MPSGraph This, MetalPerformanceShadersGraph.MPSGraphTensor incomingGradientTensor, MetalPerformanceShadersGraph.MPSGraphTensor sourceTensor, MetalPerformanceShadersGraph.MPSGraphPaddingMode paddingMode, int[] leftPadding, int[] rightPadding, string? name);
[<Foundation.Export("padGradientWithIncomingGradientTensor:sourceTensor:paddingMode:leftPadding:rightPadding:name:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member PadGradient : MetalPerformanceShadersGraph.MPSGraph * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphTensor * MetalPerformanceShadersGraph.MPSGraphPaddingMode * int[] * int[] * string -> MetalPerformanceShadersGraph.MPSGraphTensor

Parameters

This
MPSGraph
incomingGradientTensor
MPSGraphTensor
sourceTensor
MPSGraphTensor
paddingMode
MPSGraphPaddingMode
leftPadding
Int32[]
rightPadding
Int32[]
name
String

Returns

Attributes

Applies to