LudovicoYIN opened a new pull request, #19654: URL: https://github.com/apache/tvm/pull/19654
## Summary Add Relax TFLite frontend support for `HASHTABLE_LOOKUP`. This PR adds a converter for `HASHTABLE_LOOKUP` in the Relax TFLite frontend. The implementation supports non-string value tensors and lowers the lookup through `bucketize`, `take`, and `where` so that missing keys return zero-filled values together with a `uint8` hits mask matching TFLite semantics for the supported cases. The PR also adds handcrafted TFLite frontend tests covering: - 1D float value tensors - 2D float value tensors - the current unsupported string-value case ## Testing Ran `tests/python/relax/test_frontend_tflite.py -k 'hashtable_lookup'`. 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]
