feat(textual MLIR)!: add MLIR text output generation flow along with update CLI tests
-
update Python API:
- renamed
tflite_flatbuffer_to_tosa_mlir_bytecodetotflite_flatbuffer_to_tosa_mlir, with support to generate output as MLIR text. - introduce
TosaConverterOutputFormatenum (Bytecode, Text) in C++ and Python wrapper. - update
tflite_flatbuffer_to_tosa_mlirto optionally generate textual MLIR using a newoutput_formatparameter (default: Bytecode).
- renamed
-
update CLI with mutually exclusive
--bytecode/--textflags to control output format -
update
README.mdwith Python API usage and add--bytecode/--textexamples
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.