# sp500\_yolo\_raw

```cpp
#include <sp500/yolo.h>

struct sp500_yolo_raw
```

Raw head tensors as separate planes, one set per feature level.

Used by the ANCHORLESS, NMSFREE and DFLFREE families. Index 0, 1 and 2 are the stride 8, 16 and 32 levels. Each plane is HWC float for its level. Fill with [sp500\_yolo\_raw\_init()](<https://docs.mobilint.com/regulus/en/v4.1/api/cpp/yolo-h/#sp500-yolo-raw-init>), then set the planes you have.

## Attributes

| Member | Description |
| --- | --- |
| [`box`](<#box>) |  |
| [`cls`](<#cls>) |  |
| [`extra`](<#extra>) |  |
| [`reserved`](<#reserved>) |  |

### box

```cpp
sp500_buffer box[SP500_YOLO_LEVELS]
```

Box head: 4 x 16 DFL logits for ANCHORLESS and NMSFREE, 4 direct distances for DFLFREE. Required.

### cls

```cpp
sp500_buffer cls[SP500_YOLO_LEVELS]
```

Class head: `num_classes` logits. Required.

### extra

```cpp
sp500_buffer extra[SP500_YOLO_LEVELS]
```

Task head: `mask_coeffs` mask coefficients for segmentation, 51 keypoint values for pose. Leave unused for detection.

### reserved

```cpp
uint32_t reserved[4]
```

must be zero
