tf.saved_model.experimental.read_fingerprint

Reads the fingerprint of a SavedModel in export_dir.

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

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

export_dir The directory that contains the SavedModel.

A tf.saved_model.experimental.Fingerprint.

FileNotFoundError If no or an invalid fingerprint is found.