tf.mlir.experimental.convert_graph_def

View source on GitHub

Import a GraphDef and convert it to a textual MLIR module.

tf.mlir.experimental.convert_graph_def(
    graph_def, pass_pipeline='tf-standard-pipeline'
)

Args:

Returns:

A textual representation of the MLIR module corresponding to the graphdef. Raises a RuntimeError on error.