Open pkgoogle opened 1 day ago
This issue originally reported by @francoisgermain has been moved to this dedicated repository for LiteRT to enhance issue tracking and prioritization. To ensure continuity, we have created this new issue on your behalf.
We appreciate your understanding and look forward to your continued involvement.
Original Issue: https://github.com/tensorflow/tensorflow/issues/54501 Opening on behalf of @francoisgermain
System information
Describe the feature and the current behavior/state. Now that TFLite supports natively ops for tf.signal.rfft and tf.signal.stft (see #27030), it would be really great to close the loop and add support for their inverse functions tf.signal.irfft and tf.signal.inverse_stft to support more broadly 1-dimensional data models.
Right now, here is what happens with this MWE:
Output:
The TF Select workaround mentioned in the error message does seem to work, so the community may have a workaround in the meantime (with all the caveats mentioned in https://www.tensorflow.org/lite/guide/ops_select), but I think it'd be in the best interest of the community to have the inverse operators supported natively whenever possible, for a much facilitated deployment of models.
Will this change the current api? How?
Not that I can think of, but maybe I don't fully understand the question.
Who will benefit with this feature?
Every TensorFlow user needing to deploy a TFLite model that relies on STFT processing, so that could cover many people working on projects involving audio data, financial data, or any other form of 1-dimensional data series.
Any Other info
Nothing. Just thanks to the community for keeping TensorFlow running and growing 👍