I compiled a HEF with automatic_reshapes disabled, so no on-chip Format Conversion (Reshape) layers are added at the network boundary.
My understanding of the data path:
- The input data reaches device DDR already in NHCW layout (the NN Core’s native format).
- Since there is no on-chip reshape layer (automatic_reshapes disabled), the NN Core consumes the DDR data as-is, with no on-chip format conversion.
Question: Is this correct? Specifically —
- With automatic_reshapes disabled, does the DDR (NHCW) input reach the NN Core’s input boundary without any on-chip conversion?
- Is automatic_reshapes indeed the parameter that governs on-chip (NN Core) boundary conversion — as opposed to host-side conversion, which is handled separately by HailoRT’s format_order?
Thanks!
- add
To confirm my understanding of the host-side behavior when automatic_reshapes is disabled:
- If the input buffer is in NHWC, HailoRT (host CPU) reorders it to NHCW before sending it to the NN Core.
- If the input buffer is already NHCW, there is no host-side (CPU) reorder — it is passed to the NN Core as-is.
Is this correct?
version : HailoRT 4.23.0, DFC 3.33.1
