tf.mlir.experimental.convert_saved_model_v1
Converts a v1 SavedModel to MLIR module.
tf.mlir.experimental.convert_saved_model_v1(
saved_model_path,
exported_names,
tags,
lift_variables,
include_variables_in_initializers,
upgrade_legacy=True,
show_debug_info=False
)
Args |
saved_model_path
|
Path to SavedModel.
|
exported_names
|
Names to export.
|
tags
|
MetaGraphDef to be loaded is identified by the supplied tags.
|
lift_variables
|
Whether to promote tf.VarHandleOp to resource arguments.
|
include_variables_in_initializers
|
Keeps the variables in initializers
before lifting variables.
|
upgrade_legacy
|
Functionalize the input graph before importing.
|
show_debug_info
|
Whether to include locations in the emitted textual form.
|
Returns |
A textual representation of the MLIR module corresponding to the
SavedModule.
|
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 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[],[]]