편집

다음을 통해 공유


MPSCnnUpsamplingBilinearNode.Create Method

Definition

Overloads

Create(MPSNNImageNode, nuint, nuint)
Create(MPSNNImageNode, nuint, nuint, Boolean)

Create(MPSNNImageNode, nuint, nuint)

[Foundation.Export("nodeWithSource:integerScaleFactorX:integerScaleFactorY:")]
public static MetalPerformanceShaders.MPSCnnUpsamplingBilinearNode Create (MetalPerformanceShaders.MPSNNImageNode sourceNode, nuint integerScaleFactorX, nuint integerScaleFactorY);
static member Create : MetalPerformanceShaders.MPSNNImageNode * nuint * nuint -> MetalPerformanceShaders.MPSCnnUpsamplingBilinearNode

Parameters

sourceNode
MPSNNImageNode
integerScaleFactorX
System.System.UIntPtr System.unativeint
integerScaleFactorY
System.System.UIntPtr System.unativeint

Returns

Attributes

Applies to

Create(MPSNNImageNode, nuint, nuint, Boolean)

[Foundation.Export("nodeWithSource:integerScaleFactorX:integerScaleFactorY:alignCorners:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static MetalPerformanceShaders.MPSCnnUpsamplingBilinearNode Create (MetalPerformanceShaders.MPSNNImageNode sourceNode, nuint integerScaleFactorX, nuint integerScaleFactorY, bool alignCorners);
static member Create : MetalPerformanceShaders.MPSNNImageNode * nuint * nuint * bool -> MetalPerformanceShaders.MPSCnnUpsamplingBilinearNode

Parameters

sourceNode
MPSNNImageNode
integerScaleFactorX
System.System.UIntPtr System.unativeint
integerScaleFactorY
System.System.UIntPtr System.unativeint
alignCorners
Boolean

Returns

Attributes

Applies to