tflite-micro icon indicating copy to clipboard operation
tflite-micro copied to clipboard

Adding support for Rfft2d

Open kirianguiller opened this issue 1 year ago • 1 comments

Hello everyone,

In the issue Can this be done in TFLM, it was mentionned that the kernels Rfft2d and ComplexAbs were not supported by TFLM. (kernels used in tflite for the audio classification model for instance).

I wanted to know if the reason of this is a technical incompatibility or if it's possible to implement by following the step-by-step guide?

Thanks!

kirianguiller avatar Sep 16 '24 07:09 kirianguiller

TFLM doesn't currently support complex types, which would be needed for both Rfft2d and ComplexAbs. We do have our own signal library (https://github.com/tensorflow/tflite-micro/tree/main/signal), but it does mean models using those operations need to be re-authored using the TFLM signal library.

rascani avatar Sep 23 '24 20:09 rascani

I too want to know if this op will be supported in future or it can be ported by following the guide.

HemanthSai7 avatar Oct 09 '24 08:10 HemanthSai7

"This issue is being marked as stale due to inactivity. Remove label or comment to prevent closure in 5 days."

github-actions[bot] avatar Nov 03 '24 10:11 github-actions[bot]

"This issue is being closed because it has been marked as stale for 5 days with no further activity."

github-actions[bot] avatar Nov 08 '24 10:11 github-actions[bot]

TFLM doesn't currently support complex types, which would be needed for both Rfft2d and ComplexAbs. We do have our own signal library (https://github.com/tensorflow/tflite-micro/tree/main/signal), but it does mean models using those operations need to be re-authored using the TFLM signal library.

I also want to know if TFLM will support complex types in the future? If not supported, what is the reason?

Beyond9596 avatar Nov 22 '24 03:11 Beyond9596