MPSCnnYoloLossNode.Create(MPSNNImageNode, MPSCnnYoloLossDescriptor) 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.
[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
Parameters
- source
- MPSNNImageNode
- descriptor
- MPSCnnYoloLossDescriptor
Returns
- Attributes