Tflite frontend reshape operator AssertionError

Based on the latest master branch, I used the following script https://www.dropbox.com/s/eooupdzsnxm5i8u/test_tflite_frontend.py?dl=0

and model file:

Then got the following information:

assert op.BuiltinOptionsType() == BuiltinOptions.ReshapeOptions

AssertionError

========================================== 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 https://tvm.apache.org/docs/tutorials/frontend/deploy_prequantized_tflite.html to conduct our experiment and get the same error message when converting reshape.