LudovicoYIN opened a new pull request, #19652:
URL: https://github.com/apache/tvm/pull/19652

   ## Summary
   
   Add Relax TFLite frontend support for `EMBEDDING_LOOKUP_SPARSE`.
   
   This PR adds a converter for `EMBEDDING_LOOKUP_SPARSE` in the Relax
   TFLite frontend. The implementation supports the `SUM`, `MEAN`, and
   `SQRTN` combiners and handles higher-rank sparse indices. The sparse
   aggregation is lowered through `scatter_nd` to match TFLite operator
   semantics for the supported cases.
   
   The PR also adds handcrafted TFLite frontend tests covering:
   - `SUM`
   - `MEAN`
   - `SQRTN`
   - a 3D indices case
   
   ## Testing
   
   Ran `tests/python/relax/test_frontend_tflite.py -k 
'embedding_lookup_sparse'`.
   
   Part of #19519


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to