Skip to content

Commit 7a03899

Browse files
BlaziusMaximuscopybara-github
authored andcommitted
[SavedModel Fingerprinting] Add information about the fingerprint to the SavedModel guide.
Starting in TF 2.11, all SavedModels written using `tf.saved_model.save` will contain a `fingerprint.pb` file. tensorflow/community#415 PiperOrigin-RevId: 520938759
1 parent f2427a6 commit 7a03899

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

site/en/guide/saved_model.ipynb

+3-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,9 @@
354354
"source": [
355355
"The `assets` directory contains files used by the TensorFlow graph, for example text files used to initialize vocabulary tables. It is unused in this example.\n",
356356
"\n",
357-
"SavedModels may have an `assets.extra` directory for any files not used by the TensorFlow graph, for example information for consumers about what to do with the SavedModel. TensorFlow itself does not use this directory."
357+
"SavedModels may have an `assets.extra` directory for any files not used by the TensorFlow graph, for example information for consumers about what to do with the SavedModel. TensorFlow itself does not use this directory.\n",
358+
"\n",
359+
"The `fingerprint.pb` file contains the [fingerprint](https://en.wikipedia.org/wiki/Fingerprint_(computing)) of the SavedModel, which is composed of several 64-bit hashes that uniquely identify the contents of the SavedModel. The fingerprinting API is currently experimental, but `tf.saved_model.experimental.read_fingerprint` can be used to read the SavedModel fingerprint into a `tf.saved_model.experimental.Fingerprint` object."
358360
]
359361
},
360362
{

0 commit comments

Comments
 (0)