共用方式為


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

傳回

屬性

適用於