Tengine icon indicating copy to clipboard operation
Tengine copied to clipboard

when converting onnx to tmfile, the flatten layer converted wrong

Open cubicimage opened this issue 3 years ago • 0 comments

As following pictures. One is the onnx model and the other is tmfile.

The last flatten layer got wrongly converted, which resulted the output layer with wrong dims. The correct output layer should be 1x128, but we got 1x512x1x128.

I tried onnx with opset=9, 11, and 13, but all derived the same wrong flatten layer conversion.

Any suggestion?

Thanks in advance.

onnx tmfile

cubicimage avatar Sep 23 '22 00:09 cubicimage