MPSCnnUpsamplingNearestGradientNode.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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