Bewerken

Delen via


MPSCnnSpatialNormalizationGradientNode.Create Method

Definition

[Foundation.Export("nodeWithSourceGradient:sourceImage:gradientState:kernelSize:")]
public static MetalPerformanceShaders.MPSCnnSpatialNormalizationGradientNode Create (MetalPerformanceShaders.MPSNNImageNode sourceGradient, MetalPerformanceShaders.MPSNNImageNode sourceImage, MetalPerformanceShaders.MPSNNGradientStateNode gradientState, nuint kernelSize);
static member Create : MetalPerformanceShaders.MPSNNImageNode * MetalPerformanceShaders.MPSNNImageNode * MetalPerformanceShaders.MPSNNGradientStateNode * nuint -> MetalPerformanceShaders.MPSCnnSpatialNormalizationGradientNode

Parameters

sourceGradient
MPSNNImageNode
sourceImage
MPSNNImageNode
gradientState
MPSNNGradientStateNode
kernelSize
System.System.UIntPtr System.unativeint

Returns

Attributes

Applies to