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.

export_dir The directory that contains the SavedModel.

A tf.saved_model.experimental.Fingerprint.

ValueError If no or an invalid fingerprint is found.