feat(textual MLIR)!: add MLIR text output generation flow along with update CLI tests
-
update Python API:
- renamed
tflite_flatbuffer_to_tosa_mlir_bytecode
totflite_flatbuffer_to_tosa_mlir
, with support to generate output as MLIR text. - introduce
TosaConverterOutputFormat
enum (Bytecode, Text) in C++ and Python wrapper. - update
tflite_flatbuffer_to_tosa_mlir
to optionally generate textual MLIR using a newoutput_format
parameter (default: Bytecode).
- renamed
-
update CLI with mutually exclusive
--bytecode
/--text
flags to control output format -
update
README.md
with Python API usage and add--bytecode
/--text
examples
BREAKING CHANGE: Python API function tflite_flatbuffer_to_tosa_mlir_bytecode
has been removed. Use tflite_flatbuffer_to_tosa_mlir
instead.
CLI now uses --bytecode
or --text
to select output format, defaulting to —bytecode
if none provided.