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


MPSCnnLocalContrastNormalizationGradientNode.Create Метод

Определение

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

Параметры

sourceGradient
MPSNNImageNode
sourceImage
MPSNNImageNode
gradientState
MPSNNGradientStateNode
kernelWidth
System.System.UIntPtr System.unativeint
kernelHeight
System.System.UIntPtr System.unativeint

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

Атрибуты

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