Поделиться через


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

Возвращаемое значение

Атрибуты

Применяется к