tf.mlir.experimental.tflite_to_tosa_bytecode
Преобразует TFLite flatbuffer в диалект TOSA в MLIR байткоде.
tf.mlir.experimental.tflite_to_tosa_bytecode(
flatbuffer,
bytecode,
use_external_constant=False,
ordered_input_arrays=None,
ordered_output_arrays=None
)
| Аргументы | |
|---|---|
flatbuffer | Путь к flatbuffer. |
bytecode | Путь к выходному байткоду. |
use_external_constant | Нужно ли создать tfl.external_const вместо tfl.const. |
ordered_input_arrays | |
ordered_output_arrays | Если ordered_output_arrays не пусто, функция будет возвращать только узлы в ordered_output_arrays в том же порядке. |
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/mlir/experimental/tflite_to_tosa_bytecode