共用方式為


MPSCnnCrossChannelNormalizationGradientNode.Create 方法

定義

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

參數

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

傳回

屬性

適用於