View source on GitHub |
Reads the fingerprint of a SavedModel in export_dir
.
tf.saved_model.experimental.read_fingerprint(
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
.
Args | |
---|---|
export_dir
|
The directory that contains the SavedModel. |
Returns | |
---|---|
A tf.saved_model.experimental.Fingerprint .
|
Raises | |
---|---|
ValueError
|
If no or an invalid fingerprint is found. |