tf.mlir.experimental.tflite_to_tosa_bytecode
Stay organized with collections
Save and categorize content based on your preferences.
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
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2024-01-23 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-01-23 UTC."],[],[]]