Skip to main content
Visitor II
Nov 19, 2026 4:09 PM UTC
Question

batch > 1 => Error in computation of shapes

Hello,

I would like to run my models with batch > 1 but I always get “Error in computation of shapes”.

So I generated a simple 3 conv model with a batch of 2 (input [2,1,32,32], output [2,1,32,32]) but I got the same error:

/opt/ST/STEdgeAI/4.1/Utilities/linux/stedgeai analyze --model tiny_bs2_int8.onnx --target stm32n6 --st-neural-art
ValueError: Error in computation of shapes

Is ST Neural-ART NPU support batch > 1 ? I did not found any information on STEdge AI documentation.

Thanks & Regards,

Regis