The data layout inference I added here (3e59fd3) to fix the cnv data layout issue seems to break the MobileNetV1 flow based on a QONNX input model (the old FINN-ONNX version in the regression test suite is fine) that is exercised in test_end2end_mobilenet_tidy_and_merge_with_preproc:
assert (
thresholds.shape[0] == 1 or thresholds.shape[0] == num_output_channels
), """Quant node cannot be converted to MultiThreshold because only
per tensor or per channel quantization supported."""
E AssertionError: Quant node cannot be converted to MultiThreshold because only
E per tensor or per channel quantization supported.
The threshold shape is (64, 15) and num_output_channels is 111, which looks like the spatial dimension.
The data layout inference I added here (3e59fd3) to fix the cnv data layout issue seems to break the MobileNetV1 flow based on a QONNX input model (the old FINN-ONNX version in the regression test suite is fine) that is exercised in
test_end2end_mobilenet_tidy_and_merge_with_preproc:The threshold shape is (64, 15) and num_output_channels is 111, which looks like the spatial dimension.