Tflite frontend reshape operator AssertionError

Based on the latest master branch, I used the following script

and model file:

Then got the following information:

assert op.BuiltinOptionsType() == BuiltinOptions.ReshapeOptions


========================================== Print out get the following information:

op.BuiltinOptionsType() = 0 BuiltinOptions.ReshapeOptions = 17

It seems that the two ‘reshape’ operators are incompatible or something else.

Thanks in advance.

We also encounter the same problem when using relay.frontend.from_tflite to convert a pre-trained LeNet tflite model into a Relay module. We modify the code of to conduct our experiment and get the same error message when converting reshape.