W3cubDocs

/TensorFlow

Module: tf.mlir.experimental

Public API for tf._api.v2.mlir.experimental namespace

Functions

convert_function(...): Import a ConcreteFunction and convert it to a textual MLIR module.

convert_graph_def(...): Import a GraphDef and convert it to a textual MLIR module.

convert_saved_model(...): Converts a SavedModel to MLIR module.

convert_saved_model_v1(...): Converts a v1 SavedModel to MLIR module.

run_pass_pipeline(...): Runs a pipeline over input module.

tflite_to_tosa_bytecode(...): Converts TFLite flatbuffer to TOSA dialect in MLIR bytecode.

write_bytecode(...): Writes an MLIR module out as bytecode.

© 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