rafzi opened a new issue, #11881:
URL: https://github.com/apache/tvm/issues/11881

   I was working on adding support for the TFLite op `Batch_MatMul`. When 
looking at the tests, I was a bit puzzled as to why there was already a test 
for that operator and why it is passing.
   
   
https://github.com/apache/tvm/blob/main/tests/python/frontend/tflite/test_forward.py#L726
   
   When I'm trying a model ( 
https://github.com/huggingface/tflite-android-transformers/blob/master/models_generation/gpt2.py
 using `distilgpt2` ) with the op, I get the expected error:
   
   ```
     File "tvm/python/tvm/relay/frontend/tflite.py", line 279, in 
check_unsupported_ops
       raise tvm.error.OpNotImplemented(raise_msg)
   tvm.error.OpNotImplemented: The following operators are not supported in 
frontend TFLite: 'BATCH_MATMUL'
   ```
   
   The whole TFLite frontend test file is not quite clear to me. How would I 
then test that my new operator is converted correctly? It would be great if 
someone could clarify or add documentation.
   
   @FrozenGene @u99127 @siju-samuel 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to