How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

DFC 3.34.0 incorrectly detects one input feature during nn.Linear after 4D-to-3D tensor conversion

calendar_today November 8, 2026 person @subrata.nath domain hailo

Hi, Summary: Hailo DFC 3.34.0 fails when a tensor of shape [1, 4, 25, 128] is reduced to [1, 25, 128] using Slice, torch.unbind, or torch.index_select and then passed to nn.Linear(128, 128). All generated ONNX models pass ONNX validation and execute correctly with ONNX Runtime. However, DFC interprets the Linear input as having one feature instead of 128.

open_in_new Read original post