共用方式為


MPSCnnYoloLossNode.Create(MPSNNImageNode, MPSCnnYoloLossDescriptor) 方法

定義

[Foundation.Export("nodeWithSource:lossDescriptor:")]
[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.MPSCnnYoloLossNode Create (MetalPerformanceShaders.MPSNNImageNode source, MetalPerformanceShaders.MPSCnnYoloLossDescriptor descriptor);
static member Create : MetalPerformanceShaders.MPSNNImageNode * MetalPerformanceShaders.MPSCnnYoloLossDescriptor -> MetalPerformanceShaders.MPSCnnYoloLossNode

參數

傳回

屬性

適用於