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

Add support for RANGE op

Open fwcd opened this issue 10 months ago • 5 comments

This op seems to be used internally by MelSpectrogram layers and would be convenient to have supported.

Potentially related:

  • https://github.com/tensorflow/tflite-micro/issues/1042

fwcd avatar Jan 21 '25 19:01 fwcd

The op needs to be ported 😢

HemanthSai7 avatar Jan 23 '25 17:01 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 Feb 18 '25 10:02 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 Feb 24 '25 10:02 github-actions[bot]

@fwcd @HemanthSai7 Let's discuss further. TFLM does not have dynamic memory allocation, thus a RANGE operator would be limited to only being supportable with all 3 inputs as constant-tensors. Is this the way it is used in existing models?

ddavis-2015 avatar Mar 04 '25 23:03 ddavis-2015

Yeah. I had to remove the usage of range while converting the model to TFLITE. Yes I was using it with dynamic arrays.

HemanthSai7 avatar Mar 05 '25 01:03 HemanthSai7