Reshape layer error

Hey @HappySniper95 ,

Thanks for sharing the graph , these are my thoughts :

Root Cause

Hailo’s Dataflow Compiler does not support shape propagation through runtime shape-calculation logic, even if the resulting values are constant at inference time.

So even this setup:

Shape → Slice → Concat → Reshape

Fails Hailo’s requirement of fully static Reshape.

Recommended Fix

Hardcode the shape using a Constant node upstream:

  • Make sure the shape input of the Reshape comes directly from a constant initializer, not any ops like Shape, Slice, etc.

Also verify in Netron that the reshape node’s second input is a solid constant and not part of a calculation chain.