Spec-Zone.ru › TensorFlow

tf.mlir.experimental.convert_saved_model_v1

Converts a v1 SavedModel to MLIR module.

View aliases

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.mlir.experimental.convert_saved_model_v1

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.

© 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/convert_saved_model_v1

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API