You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This document describes the implementation details of SavedModel fingerprinting.
4
+
The design document (RFC) can be found [here](https://github.com/tensorflow/community/pull/415).
5
+
6
+
### Implementation
7
+
8
+
The code that implements SavedModel fingerprinting can be found in :
9
+
-`tensorflow/python/saved_model/fingerprinting.py`: Public python methods for accessing the fingerprint.
10
+
-`tensorflow/python/saved_model/pywrap_saved_model_fingerprinting.*`: Python wrappers for C++ fingerprint methods. For internal use only.
11
+
-`tensorflow/cc/saved_model/fingerprint.*`: C++ methods for creating and reading the fingerprint.
12
+
-`tensorflow/core/graph/regularization/`: Code that "regularizes" the GraphDef. See the README
13
+
14
+
Generally speaking, most of the implementation for SavedModel fingerprinting is in C++. The code in this directory is meant to make these methods accessible in Python for the purposes of creating a public API
15
+
as well as instrumenting the Python side of the code base.
16
+
17
+
### Instrumentation
18
+
19
+
The current SavedModel reading and loading APIs are instrumented such that they log
20
+
the fingerprint every time they are called. The APIs that are instrumented are:
0 commit comments