Modifier

Partager via


MPSCnnPoolingGradientNode.Create Method

Definition

[Foundation.Export("nodeWithSourceGradient:sourceImage:gradientState:kernelWidth:kernelHeight:strideInPixelsX:strideInPixelsY:paddingPolicy:")]
public static MetalPerformanceShaders.MPSCnnPoolingGradientNode Create (MetalPerformanceShaders.MPSNNImageNode sourceGradient, MetalPerformanceShaders.MPSNNImageNode sourceImage, MetalPerformanceShaders.MPSNNGradientStateNode gradientState, nuint kernelWidth, nuint kernelHeight, nuint strideInPixelsX, nuint strideInPixelsY, MetalPerformanceShaders.IMPSNNPadding paddingPolicy);
static member Create : MetalPerformanceShaders.MPSNNImageNode * MetalPerformanceShaders.MPSNNImageNode * MetalPerformanceShaders.MPSNNGradientStateNode * nuint * nuint * nuint * nuint * MetalPerformanceShaders.IMPSNNPadding -> MetalPerformanceShaders.MPSCnnPoolingGradientNode

Parameters

sourceGradient
MPSNNImageNode
sourceImage
MPSNNImageNode
gradientState
MPSNNGradientStateNode
kernelWidth
System.System.UIntPtr System.unativeint
kernelHeight
System.System.UIntPtr System.unativeint
strideInPixelsX
System.System.UIntPtr System.unativeint
strideInPixelsY
System.System.UIntPtr System.unativeint
paddingPolicy
IMPSNNPadding

Returns

Attributes

Applies to