MPSCnnUpsamplingBilinearNode.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.
Overloads
| Name | Description |
|---|---|
| Create(MPSNNImageNode, UIntPtr, UIntPtr) | |
| Create(MPSNNImageNode, UIntPtr, UIntPtr, Boolean) |
Create(MPSNNImageNode, UIntPtr, UIntPtr)
[Foundation.Export("nodeWithSource:integerScaleFactorX:integerScaleFactorY:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSCnnUpsamplingBilinearNode Create(MetalPerformanceShaders.MPSNNImageNode sourceNode, UIntPtr integerScaleFactorX, UIntPtr integerScaleFactorY);
[<Foundation.Export("nodeWithSource:integerScaleFactorX:integerScaleFactorY:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MetalPerformanceShaders.MPSNNImageNode * unativeint * unativeint -> MetalPerformanceShaders.MPSCnnUpsamplingBilinearNode
Parameters
- sourceNode
- MPSNNImageNode
- integerScaleFactorX
-
UIntPtr
unativeint
- integerScaleFactorY
-
UIntPtr
unativeint
Returns
- Attributes
Applies to
Create(MPSNNImageNode, UIntPtr, UIntPtr, Boolean)
[Foundation.Export("nodeWithSource:integerScaleFactorX:integerScaleFactorY:alignCorners:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSCnnUpsamplingBilinearNode Create(MetalPerformanceShaders.MPSNNImageNode sourceNode, UIntPtr integerScaleFactorX, UIntPtr integerScaleFactorY, bool alignCorners);
[<Foundation.Export("nodeWithSource:integerScaleFactorX:integerScaleFactorY:alignCorners:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MetalPerformanceShaders.MPSNNImageNode * unativeint * unativeint * bool -> MetalPerformanceShaders.MPSCnnUpsamplingBilinearNode
Parameters
- sourceNode
- MPSNNImageNode
- integerScaleFactorX
-
UIntPtr
unativeint
- integerScaleFactorY
-
UIntPtr
unativeint
- alignCorners
- Boolean
Returns
- Attributes