tf.saved_model.experimental.read_fingerprint  |  TensorFlow v2.16.1 (original) (raw)

tf.saved_model.experimental.read_fingerprint

Stay organized with collections Save and categorize content based on your preferences.

Reads the fingerprint of a SavedModel in export_dir.

tf.saved_model.experimental.read_fingerprint(
    export_dir: str
) -> tf.saved_model.experimental.Fingerprint

Returns a tf.saved_model.experimental.Fingerprint object that contains the values of the SavedModel fingerprint, which is persisted on disk in thefingerprint.pb file in the export_dir.

Read more about fingerprints in the SavedModel guide athttps://www.tensorflow.org/guide/saved_model

Args
export_dir The directory that contains the SavedModel.
Returns
A tf.saved_model.experimental.Fingerprint.
Raises
FileNotFoundError If no or an invalid fingerprint is found.

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-04-26 UTC.