Home
last modified time | relevance | path

Searched refs:get_temp_dir (Results 1 – 25 of 209) sorted by relevance

123456789

/external/tensorflow/tensorflow/python/profiler/
Dprofile_context_test.py42 outfile = os.path.join(test.get_temp_dir(), "dump")
49 profile_step100 = os.path.join(test.get_temp_dir(), "profile_100")
50 with profile_context.ProfileContext(test.get_temp_dir()) as pctx:
69 os.path.join(test.get_temp_dir(), "profile_100")) as profiler:
86 with profile_context.ProfileContext(test.get_temp_dir(), debug=True):
91 for f in gfile.ListDirectory(test.get_temp_dir()):
96 gfile.Exists(os.path.join(test.get_temp_dir(), "run_meta_11")))
97 gfile.Remove(os.path.join(test.get_temp_dir(), "run_meta_11"))
100 for f in gfile.ListDirectory(test.get_temp_dir()):
107 with profile_context.ProfileContext(test.get_temp_dir(),
[all …]
Dprofiler_v2_test.py36 logdir = self.get_temp_dir()
56 logdir = self.get_temp_dir()
90 logdir = self.get_temp_dir()
105 logdir = self.get_temp_dir()
Dmodel_analyzer_test.py61 outfile = os.path.join(test.get_temp_dir(), 'dump')
81 outfile = os.path.join(test.get_temp_dir(), 'dump')
88 with profile_context.ProfileContext(test.get_temp_dir(),
143 profile_file = os.path.join(test.get_temp_dir(), 'profile_1')
151 outfile = os.path.join(test.get_temp_dir(), 'dump')
174 outfile = os.path.join(test.get_temp_dir(), 'dump')
208 outfile = os.path.join(test.get_temp_dir(), 'dump')
217 with profile_context.ProfileContext(test.get_temp_dir(),
302 outfile = os.path.join(test.get_temp_dir(), 'timeline')
334 outfile = os.path.join(test.get_temp_dir(), 'dump')
[all …]
/external/tensorflow/tensorflow/python/tools/
Dsaved_model_cli_test.py176 saved_model_dir = os.path.join(test.get_temp_dir(), 'dummy_model')
260 saved_model_dir = os.path.join(test.get_temp_dir(), 'dummy_model')
441 input0_path = os.path.join(test.get_temp_dir(), 'input0.npy')
442 input1_path = os.path.join(test.get_temp_dir(), 'input1.npy')
453 input_path = os.path.join(test.get_temp_dir(), 'input.npz')
465 input_path0 = os.path.join(test.get_temp_dir(), 'pickle0.pkl')
466 input_path1 = os.path.join(test.get_temp_dir(), 'pickle1.pkl')
467 input_path2 = os.path.join(test.get_temp_dir(), 'pickle2.pkl')
498 input_path = os.path.join(test.get_temp_dir(), 'input.npz')
510 input_path = os.path.join(test.get_temp_dir(), 'input.npz')
[all …]
Dstrip_unused_test.py55 graph_io.write_graph(sess.graph, self.get_temp_dir(), input_graph_name)
59 input_graph_path = os.path.join(self.get_temp_dir(), input_graph_name)
63 output_graph_path = os.path.join(self.get_temp_dir(), output_graph_name)
118 graph_io.write_graph(sess.graph, self.get_temp_dir(), input_graph_name)
122 input_graph_path = os.path.join(self.get_temp_dir(), input_graph_name)
130 output_graph_path = os.path.join(self.get_temp_dir(), output_graph_name)
Dfreeze_graph_test.py55 checkpoint_prefix = os.path.join(self.get_temp_dir(), "saved_checkpoint")
76 graph_io.write_graph(sess.graph, self.get_temp_dir(), input_graph_name)
80 input_graph_path = os.path.join(self.get_temp_dir(), input_graph_name)
86 output_graph_path = os.path.join(self.get_temp_dir(), output_graph_name)
173 tmp_dir = self.get_temp_dir()
228 tmp_dir = self.get_temp_dir()
280 checkpoint_prefix = os.path.join(self.get_temp_dir(), "saved_checkpoint")
315 graph_io.write_graph(sess.graph, self.get_temp_dir(), input_graph_name)
327 output_graph_path = os.path.join(self.get_temp_dir(), output_graph_name)
Dsaved_model_utils_test.py34 file_io.delete_recursively(test.get_temp_dir())
46 saved_model_dir = os.path.join(test.get_temp_dir(), "valid_saved_model")
61 saved_model_dir = os.path.join(test.get_temp_dir(), "invalid_saved_model")
68 saved_model_dir = os.path.join(test.get_temp_dir(), "test_tags")
/external/tensorflow/tensorflow/python/saved_model/
Dsave_test.py97 save_dir = os.path.join(self.get_temp_dir(), "saved_model")
115 save_dir = os.path.join(self.get_temp_dir(), "saved_model")
123 save_dir = os.path.join(self.get_temp_dir(), "saved_model")
157 save_dir = os.path.join(self.get_temp_dir(), "saved_model")
182 save.save(root, os.path.join(self.get_temp_dir(), "saved_model"))
194 save.save(root, os.path.join(self.get_temp_dir(), "saved_model"))
198 save_dir = os.path.join(self.get_temp_dir(), "saved_model")
212 save_dir = os.path.join(self.get_temp_dir(), "saved_model")
230 save_dir = os.path.join(self.get_temp_dir(), "saved_model")
250 save_dir = os.path.join(self.get_temp_dir(), "saved_model")
[all …]
Dload_v1_in_v2_test.py86 path = os.path.join(self.get_temp_dir(), "saved_model", str(ops.uid()))
137 path = os.path.join(self.get_temp_dir(), "saved_model", str(ops.uid()))
167 path = os.path.join(self.get_temp_dir(), "saved_model", str(ops.uid()))
208 vocab_path = os.path.join(self.get_temp_dir(), "vocab.txt")
228 path = os.path.join(self.get_temp_dir(), "saved_model", str(ops.uid()))
246 second_path = os.path.join(self.get_temp_dir(), "saved_model",
257 third_path = os.path.join(self.get_temp_dir(), "saved_model",
287 path = os.path.join(self.get_temp_dir(), "saved_model", str(ops.uid()))
312 path = os.path.join(self.get_temp_dir(), "saved_model", str(ops.uid()))
345 path = os.path.join(self.get_temp_dir(), "saved_model", str(ops.uid()))
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dsummary_ops_test.py53 logdir = self.get_temp_dir()
66 logdir = self.get_temp_dir()
83 logdir = self.get_temp_dir()
106 logdir = self.get_temp_dir()
115 logdir = self.get_temp_dir()
126 logdir = self.get_temp_dir()
141 logdir = self.get_temp_dir()
151 logdir = self.get_temp_dir()
177 logdir = self.get_temp_dir()
184 logdir = self.get_temp_dir()
[all …]
Drecord_input_test.py39 f = os.path.join(self.get_temp_dir(), prefix + "." + str(i))
52 file_pattern=os.path.join(self.get_temp_dir(), "basic.*"),
69 file_pattern=os.path.join(self.get_temp_dir(), "basic.*"),
88 file_pattern=os.path.join(self.get_temp_dir(), "basic.*"),
107 file_pattern=os.path.join(self.get_temp_dir(), "basic.*"),
136 file_pattern=os.path.join(self.get_temp_dir(), "basic.*"),
164 file_pattern=os.path.join(self.get_temp_dir(), "basic.*"),
Dio_ops_test.py40 prefix='ReadFileTest', dir=self.get_temp_dir(), delete=False) as temp:
53 prefix='WriteFileTest', dir=self.get_temp_dir(),
68 subdir = os.path.join(self.get_temp_dir(), 'subdir1')
91 prefix=c, dir=self.get_temp_dir(), delete=True) for c in cases
/external/tensorflow/tensorflow/python/distribute/integration_test/
Dsaved_model_test.py94 export_dir = self.get_temp_dir()
125 export_dir = self.get_temp_dir()
152 export_dir = self.get_temp_dir()
177 export_dir = self.get_temp_dir()
203 export_dir = self.get_temp_dir()
208 export_dir = self.get_temp_dir()
242 layer_export_dir = self.get_temp_dir()
247 export_dir = self.get_temp_dir()
296 export_dir = self.get_temp_dir()
319 export_dir2 = self.get_temp_dir()
[all …]
/external/tensorflow/tensorflow/python/training/
Dwarm_starting_util_test.py48 vocab_file = os.path.join(self.get_temp_dir(), file_name)
56 ckpt_prefix = os.path.join(self.get_temp_dir(), "model")
128 checkpoint_utils.init_from_checkpoint(self.get_temp_dir(),
146 checkpoint_utils.init_from_checkpoint(self.get_temp_dir(),
165 checkpoint_utils.init_from_checkpoint(self.get_temp_dir(),
192 checkpoint_utils.init_from_checkpoint(self.get_temp_dir(),
215 self.get_temp_dir(), prev_vocab_path)
238 prev_ckpt=self.get_temp_dir(),
263 self.get_temp_dir(),
289 self.get_temp_dir(), prev_vocab_path)
[all …]
Dcheckpoint_utils_test.py87 checkpoint_dir = self.get_temp_dir() + "/no_checkpoints"
93 checkpoint_dir = self.get_temp_dir()
101 checkpoint_dir = self.get_temp_dir()
114 checkpoint_dir = self.get_temp_dir()
123 checkpoint_dir = self.get_temp_dir()
157 checkpoint_dir = self.get_temp_dir()
187 checkpoint_dir = self.get_temp_dir()
206 checkpoint_dir = self.get_temp_dir()
219 checkpoint_dir = self.get_temp_dir()
243 checkpoint_dir = self.get_temp_dir()
[all …]
Dcheckpoint_ops_test.py46 checkpoint_prefix = os.path.join(self.get_temp_dir(), 'model')
61 self.get_temp_dir(), 'new_feature_vocab.txt')
66 self.get_temp_dir(), 'old_feature_vocab.txt')
71 self.get_temp_dir(), 'new_class_vocab.txt')
76 self.get_temp_dir(), 'old_class_vocab.txt')
304 self.get_temp_dir(), 'new_feature_vocab.txt')
310 self.get_temp_dir(), 'old_feature_vocab.txt')
/external/tensorflow/tensorflow/python/keras/distribute/
Ddistributed_file_utils_test.py58 dirpath = self.get_temp_dir()
67 dirpath = self.get_temp_dir()
78 temp_dir = self.get_temp_dir()
90 temp_dir = self.get_temp_dir()
102 temp_dir = self.get_temp_dir()
114 temp_dir = self.get_temp_dir()
124 temp_dir = self.get_temp_dir()
Dsidecar_evaluator_test.py84 checkpoint_dir = self.get_temp_dir()
107 checkpoint_dir = os.path.join(self.get_temp_dir(), 'ckpt')
108 log_dir = os.path.join(self.get_temp_dir(), 'summary')
137 checkpoint_dir = os.path.join(self.get_temp_dir(), 'checkpoints')
138 log_dir = os.path.join(self.get_temp_dir(), 'summary')
Dmulti_worker_callback_tf2_test.py78 saving_filepath = os.path.join(test_obj.get_temp_dir(),
111 test_obj.get_temp_dir(), 'checkpoint_%s_%d%s' %
166 saving_filepath = os.path.join(self.get_temp_dir(), 'checkpoint')
233 saving_filepath = os.path.join(self.get_temp_dir(), 'checkpoint')
253 test_obj.get_temp_dir(),
286 test_obj.get_temp_dir(), 'logfile_%s' % (_get_task_config()['type']))
329 saving_filepath = os.path.join(self.get_temp_dir(), 'logfile')
/external/tensorflow/tensorflow/examples/speech_commands/
Dinput_data_test.py67 tmp_dir = self.get_temp_dir()
102 tmp_dir = self.get_temp_dir()
115 tmp_dir = self.get_temp_dir()
123 tmp_dir = self.get_temp_dir()
132 tmp_dir = self.get_temp_dir()
146 tmp_dir = self.get_temp_dir()
154 tmp_dir = self.get_temp_dir()
164 tmp_dir = self.get_temp_dir()
211 tmp_dir = self.get_temp_dir()
233 tmp_dir = self.get_temp_dir()
/external/tensorflow/tensorflow/python/tpu/
Ddatasets_test.py64 filename = os.path.join(self.get_temp_dir(), 'text_line.%d.txt' % i)
73 os.path.join(self.get_temp_dir(), 'text_line.*.txt'), filetype='text')
89 filename = os.path.join(self.get_temp_dir(), 'tf_record.%d' % i)
98 os.path.join(self.get_temp_dir(), 'tf_record*'), filetype='tfrecord')
115 filename = os.path.join(self.get_temp_dir(), 'tf_record.%d' % i)
148 filename = os.path.join(self.get_temp_dir(), 'fixed_length.%d' % i)
159 os.path.join(self.get_temp_dir(), 'fixed_length*'),
201 os.path.join(self.get_temp_dir(), '*'), filetype='foo')
206 os.path.join(self.get_temp_dir(), '*'), filetype=3)
/external/tensorflow/tensorflow/python/training/tracking/
Dutil_test.py151 test_dir = self.get_temp_dir()
217 test_dir = self.get_temp_dir()
238 test_dir = self.get_temp_dir()
251 prefix = os.path.join(self.get_temp_dir(), "ckpt")
266 prefix = os.path.join(self.get_temp_dir(), "ckpt")
287 directory = self.get_temp_dir()
327 directory = self.get_temp_dir()
343 prefix = os.path.join(self.get_temp_dir(), "ckpt")
365 prefix = os.path.join(self.get_temp_dir(), "ckpt")
378 prefix = os.path.join(self.get_temp_dir(), "ckpt")
[all …]
/external/tensorflow/tensorflow/python/training/saving/
Dfunctional_saver_test.py62 prefix = os.path.join(self.get_temp_dir(), "ckpt")
82 prefix = os.path.join(self.get_temp_dir(), "ckpt")
107 prefix = os.path.join(self.get_temp_dir(), "ckpt")
149 prefix = os.path.join(self.get_temp_dir(), "ckpt")
174 prefix = os.path.join(self.get_temp_dir(), "ckpt")
211 prefix = os.path.join(self.get_temp_dir(), "ckpt")
/external/tensorflow/tensorflow/python/keras/tests/
Dtracking_util_test.py99 checkpoint.save(os.path.join(self.get_temp_dir(), "ckpt"))
215 prefix = os.path.join(self.get_temp_dir(), "ckpt")
271 checkpoint_directory = self.get_temp_dir()
296 checkpoint_directory = self.get_temp_dir()
339 checkpoint_directory = self.get_temp_dir()
376 prefix = os.path.join(self.get_temp_dir(), "ckpt")
398 checkpoint_directory = self.get_temp_dir()
452 checkpoint_directory = self.get_temp_dir()
468 checkpoint_directory = self.get_temp_dir()
538 checkpoint_directory = self.get_temp_dir()
[all …]
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dtable_utils_test.py302 tmpdir=self.get_temp_dir(),
316 tmpdir=self.get_temp_dir(), vocab_list=vocab_data, oov_tokens=None)
328 tmpdir=self.get_temp_dir(), vocab_list=vocab_data, oov_tokens=None)
351 tmpdir=self.get_temp_dir(),
373 tmpdir=self.get_temp_dir(),
391 tmpdir=self.get_temp_dir(),
406 tmpdir=self.get_temp_dir(),
420 dir_path = tempfile.mkdtemp(prefix=test.get_temp_dir())

123456789