共用方式為


MPSCnnUpsamplingNearestGradientNode 建構函式

定義

多載

MPSCnnUpsamplingNearestGradientNode(NSObjectFlag)
MPSCnnUpsamplingNearestGradientNode(IntPtr)
MPSCnnUpsamplingNearestGradientNode(MPSNNImageNode, MPSNNImageNode, MPSNNGradientStateNode, Double, Double)

MPSCnnUpsamplingNearestGradientNode(NSObjectFlag)

protected MPSCnnUpsamplingNearestGradientNode (Foundation.NSObjectFlag t);
new MetalPerformanceShaders.MPSCnnUpsamplingNearestGradientNode : Foundation.NSObjectFlag -> MetalPerformanceShaders.MPSCnnUpsamplingNearestGradientNode

參數

適用於

MPSCnnUpsamplingNearestGradientNode(IntPtr)

protected internal MPSCnnUpsamplingNearestGradientNode (IntPtr handle);
new MetalPerformanceShaders.MPSCnnUpsamplingNearestGradientNode : nativeint -> MetalPerformanceShaders.MPSCnnUpsamplingNearestGradientNode

參數

handle
IntPtr

nativeint

適用於

MPSCnnUpsamplingNearestGradientNode(MPSNNImageNode, MPSNNImageNode, MPSNNGradientStateNode, Double, Double)

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

參數

sourceGradient
MPSNNImageNode
sourceImage
MPSNNImageNode
gradientState
MPSNNGradientStateNode
scaleFactorX
Double
scaleFactorY
Double
屬性

適用於