Modifier

Partager via


MPSCnnPoolingMaxGradientNode.Create Method

Definition

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

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