MPSCnnYoloLossDescriptor.Create Method

Definition

[Foundation.Export("cnnLossDescriptorWithXYLossType:WHLossType:confidenceLossType:classesLossType:reductionType:anchorBoxes:numberOfAnchorBoxes:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSCnnYoloLossDescriptor Create(MetalPerformanceShaders.MPSCnnLossType xyLossType, MetalPerformanceShaders.MPSCnnLossType whLossType, MetalPerformanceShaders.MPSCnnLossType confidenceLossType, MetalPerformanceShaders.MPSCnnLossType classesLossType, MetalPerformanceShaders.MPSCnnReductionType reductionType, Foundation.NSData anchorBoxes, UIntPtr numberOfAnchorBoxes);
[<Foundation.Export("cnnLossDescriptorWithXYLossType:WHLossType:confidenceLossType:classesLossType:reductionType:anchorBoxes:numberOfAnchorBoxes:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MetalPerformanceShaders.MPSCnnLossType * MetalPerformanceShaders.MPSCnnLossType * MetalPerformanceShaders.MPSCnnLossType * MetalPerformanceShaders.MPSCnnLossType * MetalPerformanceShaders.MPSCnnReductionType * Foundation.NSData * unativeint -> MetalPerformanceShaders.MPSCnnYoloLossDescriptor

Parameters

xyLossType
MPSCnnLossType
whLossType
MPSCnnLossType
confidenceLossType
MPSCnnLossType
classesLossType
MPSCnnLossType
reductionType
MPSCnnReductionType
anchorBoxes
NSData
numberOfAnchorBoxes
UIntPtr

unativeint

Returns

Attributes

Applies to