MPSGraph_MPSGraphTensorShapeOps.PadGradient 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("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