編輯

共用方式為


MPSCnnYoloLossDescriptor.Create Method

Definition

[Foundation.Export("cnnLossDescriptorWithXYLossType:WHLossType:confidenceLossType:classesLossType:reductionType:anchorBoxes:numberOfAnchorBoxes:")]
public static MetalPerformanceShaders.MPSCnnYoloLossDescriptor Create (MetalPerformanceShaders.MPSCnnLossType xyLossType, MetalPerformanceShaders.MPSCnnLossType whLossType, MetalPerformanceShaders.MPSCnnLossType confidenceLossType, MetalPerformanceShaders.MPSCnnLossType classesLossType, MetalPerformanceShaders.MPSCnnReductionType reductionType, Foundation.NSData anchorBoxes, nuint numberOfAnchorBoxes);
static member Create : MetalPerformanceShaders.MPSCnnLossType * MetalPerformanceShaders.MPSCnnLossType * MetalPerformanceShaders.MPSCnnLossType * MetalPerformanceShaders.MPSCnnLossType * MetalPerformanceShaders.MPSCnnReductionType * Foundation.NSData * nuint -> MetalPerformanceShaders.MPSCnnYoloLossDescriptor

Parameters

xyLossType
MPSCnnLossType
whLossType
MPSCnnLossType
confidenceLossType
MPSCnnLossType
classesLossType
MPSCnnLossType
reductionType
MPSCnnReductionType
anchorBoxes
NSData
numberOfAnchorBoxes
System.System.UIntPtr System.unativeint

Returns

Attributes

Applies to