MPSCnnYoloLossDescriptor.Create 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("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