MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _get_test_dir

Method _get_test_dir

tensorflow/python/training/saver_test.py:1123–1126  ·  view source on GitHub ↗
(self, dirname)

Source from the content-addressed store, hash-verified

1121class MaxToKeepTest(test.TestCase):
1122
1123 def _get_test_dir(self, dirname):
1124 test_dir = os.path.join(self.get_temp_dir(), dirname)
1125 gfile.MakeDirs(test_dir)
1126 return test_dir
1127
1128 def assertCheckpointState(self, model_checkpoint_path,
1129 all_model_checkpoint_paths, save_dir):

Callers 5

testMaxToKeepEagerMethod · 0.95
testNonShardedMethod · 0.95
testShardedMethod · 0.95
testNoMaxToKeepMethod · 0.95
testNoMetaGraphMethod · 0.95

Calls 2

get_temp_dirMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected