Converts TFLite flatbuffer to TOSA dialect in MLIR bytecode.
tf.mlir.experimental.tflite_to_tosa_bytecode(
flatbuffer,
bytecode,
use_external_constant=False,
ordered_input_arrays=None,
ordered_output_arrays=None
)
Args |
flatbuffer
|
Path to flatbuffer.
|
bytecode
|
Path to output bytecode.
|
use_external_constant
|
Whether to create tfl.external_const instead of
tfl.const .
|
ordered_input_arrays
|
|
ordered_output_arrays
|
If ordered_output_arrays is not empty, then the
function will only return nodes in ordered_output_arrays in the same order
|