Edit

Share via


MPSCnnPoolingL2NormGradientNode.Create Method

Definition

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

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