편집

다음을 통해 공유


MPSCnnPoolingAverageGradientNode.Create Method

Definition

[Foundation.Export("nodeWithSourceGradient:sourceImage:gradientState:kernelWidth:kernelHeight:strideInPixelsX:strideInPixelsY:paddingPolicy:")]
public static MetalPerformanceShaders.MPSCnnPoolingAverageGradientNode 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.MPSCnnPoolingAverageGradientNode

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