MPSCnnUpsamplingNearestGradientNode.Create Method

Definition

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

Parameters

sourceGradient
MPSNNImageNode
sourceImage
MPSNNImageNode
gradientState
MPSNNGradientStateNode
scaleFactorX
Double
scaleFactorY
Double

Returns

Attributes

Applies to