---
title: MLCYOLOLossLayer
framework: ML Compute
role: symbol
role_heading: Class
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlcyololosslayer
---

# MLCYOLOLossLayer

A layer that estimates loss for the YOLO algorithm.

## Declaration

```swift
class MLCYOLOLossLayer
```

## Topics

### Creating YOLO Loss Layers

- [init(descriptor:)](mlcompute/mlcyololosslayer/init(descriptor:).md)
- [MLCYOLOLossDescriptor](mlcompute/mlcyololossdescriptor.md)

### Inspecting YOLO Loss Layers

- [yoloLossDescriptor](mlcompute/mlcyololosslayer/yololossdescriptor.md)

## Relationships

### Inherits From

- [MLCLossLayer](mlcompute/mlclosslayer.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Loss Layers

- [MLCLossLayer](mlcompute/mlclosslayer.md)
