MPSCnnUpsamplingNearestGradientNode 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
- 屬性