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


MPSCnnUpsamplingBilinearGradientNode.NodeWithSourceGradient Метод

Определение

[Foundation.Export("nodeWithSourceGradient:sourceImage:gradientState:scaleFactorX:scaleFactorY:")]
public static MetalPerformanceShaders.MPSCnnUpsamplingBilinearGradientNode NodeWithSourceGradient (MetalPerformanceShaders.MPSNNImageNode sourceGradient, MetalPerformanceShaders.MPSNNImageNode sourceImage, MetalPerformanceShaders.MPSNNGradientStateNode gradientState, double scaleFactorX, double scaleFactorY);
static member NodeWithSourceGradient : MetalPerformanceShaders.MPSNNImageNode * MetalPerformanceShaders.MPSNNImageNode * MetalPerformanceShaders.MPSNNGradientStateNode * double * double -> MetalPerformanceShaders.MPSCnnUpsamplingBilinearGradientNode

Параметры

sourceGradient
MPSNNImageNode
sourceImage
MPSNNImageNode
gradientState
MPSNNGradientStateNode
scaleFactorX
Double
scaleFactorY
Double

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

Атрибуты

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