MPSCnnPoolingAverageGradientNode.Create 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("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