Skip to content

sp500_yolo_raw_anchor

#include <sp500/yolo.h>

struct sp500_yolo_raw_anchor

Raw head tensors as one combined tensor per level. SP500_YOLO_HEAD_ANCHOR only.

Each plane is [ny][nx][anchors_per_level * no] float with no = 5 + num_classes + mask_coeffs, in the ultralytics v5 export order: xy, wh, objectness, class scores, mask coefficients. Index 0, 1 and 2 are the stride 8, 16 and 32 levels.

Attributes

Member Description
plane
reserved

plane

sp500_buffer plane[SP500_YOLO_LEVELS]

all three are required

reserved

uint32_t reserved[4]

must be zero