File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ class Flags {
39
39
TF_DECLARE_FLAG (
40
40
op_building_optimization, true ,
41
41
" Optimize tf.Operation building for faster tf.function tracing." );
42
- TF_DECLARE_FLAG (saved_model_fingerprinting, false ,
42
+ TF_DECLARE_FLAG (saved_model_fingerprinting, true ,
43
43
" Add fingerprint to SavedModels." );
44
44
// LINT.ThenChange(//tensorflow/core/config/flags_api_wrapper.cc)
45
45
};
Original file line number Diff line number Diff line change @@ -1116,9 +1116,9 @@ def initialize():
1116
1116
class FingerprintingTests (test .TestCase ):
1117
1117
1118
1118
def test_toggle_flag (self ):
1119
- self .assertFalse (flags .config ().saved_model_fingerprinting .value ())
1120
- flags .config ().saved_model_fingerprinting .reset (True )
1121
1119
self .assertTrue (flags .config ().saved_model_fingerprinting .value ())
1120
+ flags .config ().saved_model_fingerprinting .reset (False )
1121
+ self .assertFalse (flags .config ().saved_model_fingerprinting .value ())
1122
1122
1123
1123
1124
1124
if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments