Edit

Share via


MPSCnnUpsamplingBilinearGradientNode.NodeWithSourceGradient Method

Definition

[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

Parameters

sourceGradient
MPSNNImageNode
sourceImage
MPSNNImageNode
gradientState
MPSNNGradientStateNode
scaleFactorX
Double
scaleFactorY
Double

Returns

Attributes

Applies to