共用方式為


MPSCnnSpatialNormalizationGradientNode.Create 方法

定義

[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

參數

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

傳回

屬性

適用於